we are starting to create a web application. My colleague is developing on linux, and I am running through the WAMP stack running Windows XP. We use Zend.
When we submit the form and send the email using Zend's email, the email is sent, and then I get a blank screen, and on the Linux machine the application will continue as usual.
So, I wrote my little script, mail.php, which uses phpmailer - and the same thing happens, an email is sent, and then a blank screen. So we have:
if(!$mail->Send())
{
echo "Mailer Error: " . $mail->ErrorInfo;
}
else
{
echo "Message has been sent";
}
Thus, error messages are not reported, an email is sent, but the “Message Sent” never prints on the screen (or anything else, plain HTML too).
, , . - php Windows, ?
SMTP .