PDA

View Full Version : Warning: mail(): SMTP server response: 551 User not local.


josil
08-14-2006, 07:42 PM
I installed ArgoSoft Local Mail Server
Running a register.php file it gave-me the following error:

Warning: mail(): SMTP server response: 551 User not local. We don't relay in ...

Can somebody explain me why?

thanks

vee_ess
08-16-2006, 07:47 PM
The receiver is not accepting mail for the user which mail is being sent to. That error often provides the correct path.

josil
09-02-2006, 08:01 AM
The receiver is not accepting mail for the user which mail is being sent to. That error often provides the correct path.

Here it is what I did and what I achive:


Please register:
Please fill in the following fields (fields with a * are required).

Login: aaaaaa (min. 6 chars.)
Password: 1111 (min. 4 chars.)
Confirm password: 1111
Real name:
E-mail: my personal e-mail
Extra info:

Warning: mail(): SMTP server response: 551 User not local. We don't relay in C:\web\classes\access_user\access_user_class.php on line 391

Sorry, an error occurred please try it again.


The line 391 states he following:

if (mail($mail_address, $subject, $body, $header)) {

I do not want to dend mails from my localhost. I want to ry the script on my web project, experimenting the register in order to obtain a login and a password.

Any help?

Net-Burn
05-08-2007, 01:31 AM
You need to setup your domain. You use No_Domain & under the alias, put your domain(s) xxx.com or xxx. This fixed my issue with this.

djackb
06-22-2007, 07:50 AM
Okey, just to be clear :
Go to tool-Options
Click on the tab Local Domains
Add localhost (in the little white rectangle) [if you want me@localhost for example]
Click Add

And that's it