PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
require("include/mailer/class.phpmailer.php");
$mail = new PHPMailer();
$mail->From = "me@communitymx.com";
$mail->FromName = "My Name";
$mail->AddAddress("mds_soft@yahoo.com");
$mail->Subject = "Test PHPMailer Message";
$mail->Body = "Hi! \n\n This is my first e-mail sent through PHPMailer.";
$mail->Send();
echo $mail -> ErrorInfo;
But each time I just see this error : Could not instantiate mail function
How can I solve it ?
Thanks in advance.