How to Fix the 550 ...
 
Notifications
Clear all

How to Fix the 550 No Such User Here Email Error?

2 Posts
2 Users
0 Reactions
1,689 Views
Posts: 1
Topic starter
(@itarodrigo)
New Member
Joined: 6 years ago

I am trying to send a email from my site, but I receive an error:

PHP Warning:  mail(): SMTP server response: 550 <test@gmail.com> No such user here in verificaSenha.php on line 15

My code is:

ini_set('SMTP', 'webmail.grupo360web.com.br');
ini_set('smtp_port', 25);
ini_set('sendmail_from', 'test@grupo360web.com.br');

$to = 'test@gmail.com';
$subject = 'test';
$message = 'test';
$headers = 'From: Test <test@grupo360web.com.br>' . "rn" .
'Reply-To: test@grupo360web.com.br' . "rn" .
'X-Mailer: PHP/' . phpversion();

$email = mail($to, $subject, $message, $headers);

if ($email){
echo 'ok';
}else{
echo 'no';
}

1 Reply
Posts: 1995
Admin
(@m-tiggelaar)
Noble Member
Joined: 9 years ago

Hello,

I'm afraid it's a bit outside the scope of SolidCP Support.

Your best to ask this question on a php coding blog.

Regards,

Marco

Reply
Share: