Thursday 21 August 2003 3:47:49 pm
I'm trying to setup SMTP email in the Windows version of ezPublish 3.1 and I can't get a FROM value to show up in my messages. The mail is going out and everything looks fine except for the missing FROM value. As a test, I stubbed out the values as shown in the sendMail function in ezsmtptransport.php:
$sendData = array();
// $sendData['from'] = $mail->senderText();
$sendData['from'] = 'graham.tillotson@savogroup.com';
$sendData["recipients"] = $mail->receiverTextList();
$sendData['headers'] = $mail->headerTextList();
//$sendData['body'] = $mail->body(); $sendData['body'] = 'test for stub message'; The test message for the body comes through, but I still get nothing for the FROM address. Any ideas on how to fix this? I have the default sender setup in site.ini.append:
# The address which will be set at the sender of the e-mail as default EmailSender=graham.tillotson@savogroup.com but this doesn't get picked up either. Safe mode is off and the view cache is disabled.
Thanks, GRT
DUO : CONSULTING
Web content management experts
www.duoconsulting.com
|