Guest User

Untitled

a guest
Aug 11th, 2018
354
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. Message body is garbled in Gmail
  2. <target name="sendtestreport">
  3. <tstamp>
  4. <format property="current.time" pattern="MM/dd/yyyy hh:mm" />
  5. </tstamp>
  6. <property name="subject" value="Selenium Test Report: " />
  7.  
  8. <mail mailhost="test.de" mailport="25" subject="${subject} ${current.time}"
  9. user="seleniumtests@test.de" password="password" messagemimetype="text/html">
  10. <from address="seleniumtests@test.com" />
  11. <replyto address="test@gmail.com" />
  12. <to address="test@gmail.com" />
  13. <message src="${basedir}test-outputemailable-report.html">If you have trouble viewing the message then open attachment</message>
  14. <attachments>
  15. <fileset dir="${basedir}">
  16. <include name="**/emailable-report.html"/>
  17. </fileset>
  18. </attachments>
  19. </mail>
  20. </target>
Add Comment
Please, Sign In to add comment