error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hannu
    New Member
    • Dec 2011
    • 1

    error

    how to solve this error
    Warning: mail() [function.mail]: Failed to connect to mailserver at "smtp.gmail.com " port 465, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in D:\HostingSpace s\ganesh9\ecope stpune.com\wwwr oot\test.php on line 11

    Fatal error: Maximum execution time of 300 seconds exceeded in D:\HostingSpace s\ganesh9\ecope stpune.com\wwwr oot\test.php on line 11
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    from what I read in google, gmail requires authentication (password, etc.) to send mail through its smtp server. I strongly recommend to use a mailing library like SwiftMailer or PHP Mailer

    Comment

    Working...