View Single Post
  #1 (permalink)  
Old July 19th, 2007, 01:12 AM
vijdev vijdev is offline
Registered User
Join Date: Jul 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default chapter 10 Emailing with php - firstmail.php

hi...someone pleeeeeeeease help me on php mail problem on WAMP.

mail("","Hello World","Hi,this is my first php mail!!");
*****ofcourse i have used a proper mail id!*******

where do i set up the smtp port?...or what do i need to do..

i have modified php.ini as follows:

[mail function]
; For Win32 only.

; For Win32 only.
sendmail_from = *****ofcourse i have used a proper mail id!*******

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =

i get this error:

Warning: mail() [function.mail]: SMTP server response: 530 5.7.0 Must issue a STARTTLS command first m24sm2469571waf in C:\wamp\www\play\firstmail.php on line 2

if am missing too much on basics....please help me from scratch..i am new and i ahve spent more than 10 days struggling now...!

Reply With Quote