Re: PEAR mail problem

From: Date: Mon, 28 Apr 2008 04:53:32 +0000
Subject: Re: PEAR mail problem
References: 1 2 3 4 5 6 7 8 9  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-28841@lists.php.net to get a copy of this message
if i put print "abc";exit(); before send() it prints abc but if i put print "abc"; at the end (i.e. before %> it is displaying blank page. Not printing abc. brian ally wrote: > > mandar.b wrote: >> Hi, >> >> I am also facing similar problem. > > Similar to what? > >> Following is my script. I found that send method fails. > > Fails how? Do you get an error msg? You're using SMTP - is port 25 > blocked at your ISP? Do have an MTA running? Have you configured a relay > host? > >> Please help me to solve this issue. >> <?php >> >> require_once "../PEAR/Mail.php"; >> >> $from = "Daniel <info@crewnewmexico.com>"; >> $to = "Mandar <mandar.b@codewalla.com>"; >> $subject = "Hi!"; >> $body = "Hi,\n\nHow are you?"; >> >> $host = "mail.secureserver.net"; >> $username = "info@crewnewmexico.com"; >> $password = "spicyrice"; > > You might want to consider changing that password. > > -- > PEAR General Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- View this message in context: http://www.nabble.com/PEAR-mail-problem-tp15889269p16930324.html Sent from the Pear - General mailing list archive at Nabble.com.

« previous php.pear.general (#28841) next »