I am using Parallels Panel Sever for mY site. It is windows Platform. I didnt work with IIS Server.Php Mail Functionality is not working. I got this Error.
Warning: mail() [function.mail]: SMTP server response: 503 This mail server requires authentication when attempting to send to a non-local e-mail address. Please check your mail client settings or contact your administrator to verify that the domain or address is defined for this server. in C:\Inetpub\vhosts
Please Help me how to solve this issue. thanks in advance.
This may happens because you are using the php
mail()
command - which then sends it through the smtp server listed in the php.ini file.However, when it gets to that server, it's saying "hey, you're not sending to me - you're sending to an external address. I'm not going to let you".
You can do one of two things to resolve this: - change the smtp server settings to allow relaying from the server's ip address - set up & use 'smtp authentication' which should allow you to send anywhere. This will most likely be set up on the smtp server already so you just need to go to the Interspire Email Marketer settings page and put in the appropriate details in the 'SMTP Server' section.