note 107746 added to function.mail

From: Date: Thu, 01 Mar 2012 14:50:32 +0000
Subject: note 107746 added to function.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-186447@lists.php.net to get a copy of this message
Hey please give me a solution for following problem.... ( ! ) Warning: mail() [function.mail]: SMTP server response: 530 5.7.0 Must issue a STARTTLS command first. f10sm2244844pbn.58 in C:\wamp\www\projectPHP.HTML5\reference\email1.php on line 44 Call Stack # Time Memory Function Location 1 0.0005 376112 {main}( ) ..\email1.php:0 2 0.0006 377584 mail ( ) ..\email1.php:44 line 44 is : if ( mail( $mail, "$subject", $message, "From: $emailfrom" ) ) echo '<p class="success">Your email has been sent</p>'; else echo '<p class="error">There was a problem sending your email. Please try again</p>'; ---- Server IP: 117.55.229.1 Probable Submitter: 42.104.112.77 ---- Manual Page -- http://www.php.net/manual/en/function.mail.php Edit -- https://master.php.net/note/edit/107746 Del: integrated -- https://master.php.net/note/delete/107746/integrated Del: useless -- https://master.php.net/note/delete/107746/useless Del: bad code -- https://master.php.net/note/delete/107746/bad+code Del: spam -- https://master.php.net/note/delete/107746/spam Del: non-english -- https://master.php.net/note/delete/107746/non-english Del: in docs -- https://master.php.net/note/delete/107746/in+docs Del: other reasons-- https://master.php.net/note/delete/107746 Reject -- https://master.php.net/note/reject/107746 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#186447) next »