smiley_kool Posted January 4, 2010 Share Posted January 4, 2010 hi all, im not able to send a mail frm the live server.. can somebody help me. im using phpmailer to send a mail. the code goes like this require_once ('includes/common.php'); require_once ('classes/phpmailer.php'); $objmail = new PHPMailer(); $objmail->IsMail(); $objmail->IsHTML(true); $mailcontent = array( "from" => '[email protected]', "fromname" => 'smiley', "to" => '[email protected]', "cc" => "", "bcc" => "", "toname" => '[email protected]', "subject" => 'testing', "body" => 'hi, how are you?' ); $objmail->setMailInfo($mailcontent); $objmail->Send(); Link to comment https://forums.phpfreaks.com/topic/187085-send-in-phpmailer/ Share on other sites More sharing options...
trq Posted January 4, 2010 Share Posted January 4, 2010 Have you got error reporting enabled along with display errors? What errors do you get? Link to comment https://forums.phpfreaks.com/topic/187085-send-in-phpmailer/#findComment-987960 Share on other sites More sharing options...
smiley_kool Posted January 4, 2010 Author Share Posted January 4, 2010 Have you got error reporting enabled along with display errors? What errors do you get? i enabled the error reporting but nothing is diplayed. so im nt able to find wat the problem Link to comment https://forums.phpfreaks.com/topic/187085-send-in-phpmailer/#findComment-987964 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.