facebook

Make newline in email Body: CLOSED

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #341017 Reply

    Muhammad
    Member

    Does anyone know how to make newline in email body?
    I used “%0D%0A” or \n\n or \r\n but it still can not make new line.

    Thank you

    #341018

    Stu Wade
    Member

    I use HTML. If the body of the email starts <html> and ends with the close tag and you put the isHtml flag on things work pretty well.

    #341021

    Muhammad
    Member

    Thank you.

    I use mailto with javascript, is it possible to put HTML tag? I think mailto just plain text.
    But even I put \n or \r\n, it is still can not make newline.

    #341027

    Stu Wade
    Member

    Sorry about my earlier brevity – I was deep in “developer mode”.

    The function you want is:

    phoneui.composeEmail = function(subject,body,to,cc,bcc,isHTML);

    Works like a charm for me.

    #341033

    Muhammad
    Member

    Hi Stu Wade!

    Thank you for your help. Its perfect.
    I use this function

    phoneui.composeEmail(subject, bodyTemplate, to, “”, “”, true);

    Again thank you so much.

    #341048

    Stu Wade
    Member

    You are most welcome.

    This is the purpose of this forum, to share our expertise and experience.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Make newline in email Body: CLOSED

You must be logged in to post in the forum log in