Email Problem
Moderator: General Moderators
Email Problem
HI,
I am using windows server , PHP and mysql configured under IIS. I am having problem in email script. When I try to send email I get the following error message:
mail() [function.mail]: SMTP server response: 550 Requested action not taken: mailbox unavailable or not local in.........
I am using mail() functin to send email. I think the server requires authentication is there any way I can authenticate or is there any other way of sending email.
Thanks
I am using windows server , PHP and mysql configured under IIS. I am having problem in email script. When I try to send email I get the following error message:
mail() [function.mail]: SMTP server response: 550 Requested action not taken: mailbox unavailable or not local in.........
I am using mail() functin to send email. I think the server requires authentication is there any way I can authenticate or is there any other way of sending email.
Thanks
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Re: Email Problem
Do you have the necessary mail server settings set in php.ini?
Re: Email Problem
Yes I got following set up in my php.iniEverah wrote:Do you have the necessary mail server settings set in php.ini?
SMtp_host localhost
Smtp_port 25
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Re: Email Problem
And you know those are right? I mean you actually have an smtp server running on localhost:25?
Re: Email Problem
yes smtp is runing on local machine.Everah wrote:And you know those are right? I mean you actually have an smtp server running on localhost:25?
Re: Email Problem
try sending mail out with a different application...
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Re: Email Problem
Sorry mate. All I can suggest from here is either reading the manual on mail(), using a mail library like Swiftmailer or hanging out on #php on IRC and see if someone else can answer that for you.
Re: Email Problem
I tried using outlook express :Burrito wrote:try sending mail out with a different application...
The message could not be sent because one of the recipients was rejected by the server. The rejected e-mail address was 'xxx@xxxxx.com'. Subject 'test', Account: 'test', Server: 'smtp.xhosa-dev.com', Protocol: SMTP, Server Response: '550 Requested action not taken: mailbox unavailable or not local', Port: 25, Secure(SSL): No, Server Error: 550, Error Number: 0x800CCC79
Re: Email Problem
then it looks like you need to configure your smtp server to send mail outside of your local domain.