Guest User

Untitled

a guest
Jan 27th, 2019
436
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. ...
  2. mail.setReplyTo('replyme@company.com');
  3. ...
  4.  
  5. From: Company <some@company.com>
  6. Reply-To: replyme@company.com
  7. To: "customer@gmail.com" <customer@gmail.com>
  8.  
  9. From: Company <some@company.com>
  10. Reply-To: Customer Requests <replyme@company.com>
  11. To: "customer@gmail.com" <customer@gmail.com>
  12.  
  13. ...
  14. mail.setReplyTo('Name <replyme@company.com>');
  15. ...
  16.  
  17. SendEmail failed. First exception on row 0; first error: INVALID_EMAIL_ADDRESS, Invalid replyTo address: Name <replyme@company.com>: []
  18.  
  19. mail.setReplyTo('replyme@company.com');
  20. mail.setSenderDisplayName('Customer Requests');
Add Comment
Please, Sign In to add comment