I have an email here: gmx.de
When I send an email from my Gmail account to gmx.de account then it's working fine :)
But when I try to send email using PHPMailer to my gmx.de account then I don't receive any message in my gmx.de account but in PHP it's showing success message.
PHP code:
<?php
include('phpmailer/PHPMailer.php');
$email = new PHPMailer();
$email->isHTML(true);
$email->From = 'xxx@gmail.com';
$email->FromName = 'Test Name';
$email->Subject = 'Test Subject';
$email->Body = 'This is a test message';
$email->AddAddress('xxx.xxx@gmx.de');
if ( $email->Send() ) {
echo 'mail sent';
} else {
echo 'sorry not sendt';
}
Is there any workaround?