I have a problem sending a registration email via zend_mail. The mail is transmitted only to mails that have a @gmail.com.
$email = "test@gmx.net";
$mail = new Zend_Mail ();
$mail->setBodyText ( 'some text' );
$mail->setBodyHtml ( 'some text' );
$mail->setFrom ( 'support@mysite.net', 'MySite.net' );
$mail->addTo ( $email, $email );
$mail->setSubject ( 'test' );
$mail->send ();
If the user has another email provider the email is not sent.
Any ideas?
I use smtp now and it works: