Problem with SwiftMailer...
Posted: Tue Apr 01, 2008 12:29 pm
I posted this a few mins ago, but it appears I posted it in the wrong section...
I have been using Swift Mailer on my web server for about 2 months now with out any problems. Then about a week ago the hosting company upgraded something and my mailer scripts stopped working. In my php code I changed the following line
Line number On/Off | Expand/Contract
$swift =& new Swift(new Swift_Connection_Sendmail("/usr/sbin/sendmail -bs"));
to
Line number On/Off | Expand/Contract
$swift =& new Swift(new Swift_Connection_Sendmail("/usr/sbin/sendmail -t"));
and it kind of works again except the messages that I get now have no body attached to them. Basically I get an email addressed to the correct person with no Subject and no Body.
Does anyone have any ideas of what I could try to get the message bodies back in the emails?
Thanks,
whit3fir3
I have been using Swift Mailer on my web server for about 2 months now with out any problems. Then about a week ago the hosting company upgraded something and my mailer scripts stopped working. In my php code I changed the following line
Line number On/Off | Expand/Contract
$swift =& new Swift(new Swift_Connection_Sendmail("/usr/sbin/sendmail -bs"));
to
Line number On/Off | Expand/Contract
$swift =& new Swift(new Swift_Connection_Sendmail("/usr/sbin/sendmail -t"));
and it kind of works again except the messages that I get now have no body attached to them. Basically I get an email addressed to the correct person with no Subject and no Body.
Does anyone have any ideas of what I could try to get the message bodies back in the emails?
Thanks,
whit3fir3