I am trying to get some chat messages from the system and creating the mail message body rom those messages. The issue i am facing is that both users have different name length due to which mail is looking cluttered:-
[2017-03-01] Amit : Hi
[2017-03-01] Rakesh Kumar : Hello
I want the messsage in the mail should be like this:-
[2017-03-01] Amit : Hi
[2017-03-01] Rakesh Kumar : Hello
As of now i am trying to append the spaces according to max length of both of the names.but when string is sent in the mail(text/html) spaces are not preserved.
Can anybody suggest me a way to do this.
Thanks,
I finally resolved this by creating a table.