Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ...
- mail.setReplyTo('replyme@company.com');
- ...
- From: Company <some@company.com>
- Reply-To: replyme@company.com
- To: "customer@gmail.com" <customer@gmail.com>
- From: Company <some@company.com>
- Reply-To: Customer Requests <replyme@company.com>
- To: "customer@gmail.com" <customer@gmail.com>
- ...
- mail.setReplyTo('Name <replyme@company.com>');
- ...
- SendEmail failed. First exception on row 0; first error: INVALID_EMAIL_ADDRESS, Invalid replyTo address: Name <replyme@company.com>: []
- mail.setReplyTo('replyme@company.com');
- mail.setSenderDisplayName('Customer Requests');
Add Comment
Please, Sign In to add comment