smtp server error in wamp sserver

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • satish231260
    New Member
    • Jan 2013
    • 1

    smtp server error in wamp sserver

    php.ini as below
    [mail function]
    ; For Win32 only.
    SMTP = smtp.yahoo.com
    smtp_port =25
    ; For Win32 only.
    sendmail_from = satishsir001@ya hoo.com
    ---
    ---
    here error as below
    Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\sen dmail1.php on line 6
    pl help me
  • Anas Mosaad
    New Member
    • Jan 2013
    • 185

    #2
    Please make sure you restart after making changes to php.ini

    Comment

    Working...