Open
Description
Reply-To in version 3.1.4 is not supported by PostmanSmtp2GoEngine
However, the following snippet appears to work for me in my fork. Hope this is helpful.
`
// add the reply-to
$replyTo = $message->getReplyTo();
// $replyTo is null or a PostmanEmailAddress object
if ( isset( $replyTo ) ) {
$replyToEmail = $replyTo->getEmail();
$replyToName = $replyTo->getName();
$replyToValue = !empty($replyToName) ? $replyToName . ' <' . $replyToEmail . '>' : $replyToEmail;
$content['custom_headers'][] = array(
'header' => 'Reply-To',
'value' => $replyToValue,
);
}
`
Metadata
Metadata
Assignees
Labels
No labels