I am using phpmailer to send emails from my webpage to whoever becomes a registered member.
$mail->FromName = "Personal"; //The name that you'll see as Sender
$mail->Host = "mail.pilando.com"; //Your SMTP mail server
$mail->Mailer = "smtp"; //Protocol to use
$mail->AddAddress($_POST['email']);
The thing is that, even though phpmailer is working, it outputs a lot of info to the webpage before redirecting the user. The output seems to be coming from the mail server itself.
How do I stop it from doing that?
http://www.carbotek.org