Advertisement
Guest User

Untitled

a guest
Apr 20th, 2017
698
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. SendMail[
  2. "From" -> "myemail@myisp.com",
  3. "To" -> "recipientemail@isp.com",
  4. "Subject" -> "Example Message",
  5. "Body" -> "Test",
  6. "Server" -> "smtpout.secureserver.net",
  7. "EncryptionProtocol" -> "SSL",
  8. "FullName" -> "MyUserName",
  9. "Password" -> "myPassword",
  10. "PortNumber" -> 25 (* I also tried 465, 587 *),
  11. "ReplyTo" -> None,
  12. "ServerAuthentication" -> Automatic,
  13. "UserName" -> "myUserName"
  14. ]
  15.  
  16. SendMail[
  17. "To" -> "YYY...@me.com",
  18. "Subject" -> "Example Message",
  19. "Body" -> "My text",
  20. "From" -> "xxx...@gmail.com",
  21. "Server" -> "smtp.gmail.com",
  22. "UserName" -> "xxx...@gmail.com",
  23. "Password" -> Automatic,
  24. "PortNumber" -> 587,
  25. "EncryptionProtocol" -> "StartTLS"
  26. ]
  27.  
  28. SendMail["To" -> "x@y.com",
  29. "Subject" -> "Example Message via Microsoft", "Body" -> "Keine Fehler!",
  30. "From" -> "xxx@myCompany.com", "Server" -> "outlook.office365.com",
  31. "UserName" -> "xxx@myCompany.com", "Password" -> Automatic,
  32. "PortNumber" -> 587, "EncryptionProtocol" -> "StartTLS"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement