i wonder howto send a mail with swiftmailer with an empty return path?
I just want to have a from address, but no return address.
Tried:
Code: Select all
$message->setReturnPath("");Any hints?
thanks in advance!
davide
Moderators: Chris Corbyn, General Moderators
Code: Select all
$message->setReturnPath("");Code: Select all
// Catch-all address
if ( !empty($mailTemplate['returnpath']) )
$message->setReturnPath($mailTemplate['returnpath']);