Jump to content

gdk123

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by gdk123

  1. Hi, I am using WAMP5 Server.I'm trying to send an e-mail from a .php script and ie6 returns this error: 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\mailtest\sendmail.php on line 12 I checked php.ini [mail function]; For Win32 only.SMTP = localhostsmtp_port = 25; For Win32 only.sendmail_from = me@anydomain.com

  2. When i am executing the page on local server the mail function gives an error. but the same code works very well when i uploads it on a server.I am unable to set the SMTP Server.

×
×
  • Create New...