siramiktyle Posted April 3, 2014 Share Posted April 3, 2014 A simple email script will send email to email accounts outside of the host domain but not to email accounts in the domain. ie example.com/sendmail.php will send to email.account@xyz.com but not to email.account@example.com I get the following when sending to accounts with same domain name: "Warning: mail() [function.mail]: SMTP server response: 550 Requested action not taken: mailbox unavailable or not local inG:PleskVhostsexample.com/sendmail.php on line26" The script works fine sending to any account other outside of the domain. Something in the settings I suspect. Plesk or php settings? thx for any help... Link to comment Share on other sites More sharing options...
justsomeguy Posted April 3, 2014 Share Posted April 3, 2014 One problem might be that the web server's DNS records are pointing to itself as the mail server, but the actual mail server is separate. The error message says that the mailbox does not exist on that server. So the local web server is not the email server that you actually use. Link to comment Share on other sites More sharing options...
siramiktyle Posted April 3, 2014 Author Share Posted April 3, 2014 Good possibility. This happened when I moved site hosting to GoDaddy. But I have another domain there and I use the script without issue. Could it be a setting in the php.ini file? Link to comment Share on other sites More sharing options...
justsomeguy Posted April 3, 2014 Share Posted April 3, 2014 No, it's something to do with DNS. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now