How could I add the content of a file to message body of email ?

12 views
Skip to first unread message

moj...@gmail.com

unread,
Feb 24, 2016, 8:28:16 PM2/24/16
to Jenkins Users
Now I want to put the content of a file such as the txt to mssage body of email. I use the variable "${FILE,path="xxx.txt"}" in Email Extension Plugin. But when I received e-mail I found that the Newline missing !

For example, the content of txt:

but I  received e-mail and show like this:

I'm confused, do you have any solutions?

Slide

unread,
Feb 24, 2016, 10:46:22 PM2/24/16
to Jenkins Users

I can't see the text you are referring to. What is the mime type you choose for the email?


--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/13b49374-4037-4b74-ac3c-df8e0c82af00%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages