PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
That's the code that I am using, but it is not working. Can anyone help?
In the form I am asking for name and email address to subscribe. But this is the error message that comes
PHP Warning: mail(): SMTP server response: 550 Requested action not taken: mailbox unavailable or not local in D:\inetpub\vhosts\legalyaar.com\httpdocs\contact.php on line 9
Sorry, I am new to this. Thanks for letting me know how it works here.
I expected this code to let a person subscribe to my email list by entering name & email. However it is giving the said error... and not sending a mail with the information entered by the user.
requinix wrote:"it is not working" doesn't mean anything to us. How is it not working? What did you expect it to do and what did it actually do?
Error message
PHP Warning: mail(): SMTP server response: 550 Requested action not taken: mailbox unavailable or not local in D:\inetpub\vhosts\legalyaar.com\httpdocs\contact.php on line 9
requinix wrote:"it is not working" doesn't mean anything to us. How is it not working? What did you expect it to do and what did it actually do?
I see you're using Windows, which doesn't have a built-in mail server. Do you have a mail server configured or have you configured the SMTP settings for PHP?