Isn't the message part going on text/html? If you're sending just plain text,
you have to ensure the message content type is text/plain.
--
Diogo Resende
On Thursday, April 19, 2012 at 13:44 , Feras Odeh wrote:
>
> I'm using node.js mailer module to send email from node server. I used
> template file for that but I got all spaces trimmed when the message was
> sent. I tried to add '\n' at the end line of the template but it doesn't work
> also. Here is an example of template file:
>
> Hi {{username}},\\n Thanks for creating an account with us
>
> I tried \n and \n , nothing all doesn't work. Any help?
>
>
> Thanks,
>
>
> Feras
>
>
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> (mailto:[email protected])
> To unsubscribe from this group, send email to
> [email protected]
> (mailto:[email protected])
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en