Hello, Regarding the following code snippet, when ...
# suitescript
s
Hello, Regarding the following code snippet, when the Customer replies to the email message (i.e. Reply To/All), that reply isn't being stored inside NetSuite (i.e. Communications>Messages). How would I go about ensuring the reply is tracked inside NetSuite?
email.send({
author: senderId,
recipients: recipientId,
subject: 'Test Sample Email Module',
body: 'Test email body',
replyTo: '<mailto:Kevin.B@test.com|Kevin.B@test.com>',
relatedRecords: {
transactionId: id
}
})
b
Don't use the replyTo parameter
alternativly use an email capture plugin as documented in email.send
s
Unfortunately, the issue is that our customers are wiping the encoded part of the of the ReplyTo email address:`<messages.123456.546468.0008daecf9f@6486418.email.netsuite.com>` is there any way to make this reply to address a vanity email, and still have it write back on reply to?
b
the second alternative i gave you, the email capture plugin
though you will probably have to create the message in the plugin
s
I will explore that option. Thank you!