SMTP error

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

    #1

    SMTP error

    hi,
    When i try to send email from local host. i changed my SMTP=localhost to my SMTP mail server name in php.ini file.i got an error like this:

    Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 relaying denied in C:\wamp\www\gan g\core\class_ma iler.php on line 189

    please suggest a good solution to recover this error.
    the class_mailer php script is attached along with this.
  • sramineni
    New Member
    • Dec 2011
    • 5

    #2
    Hi to use mail functionality from php need to configure smtp details in php. if you dont have access in the server configuration use phpmailer class. where you need to declare smtp details..check the below link for more information http://www.phpclasses.org/package/26...s-for-PHP.html

    Comment

    Working...