mail afsendelse
Hej eksperter,Jeg har et problem med afsendelse af mails via min hjemmeside
http://notserious.wep.dk
som er hostet af http://dinhost.net.
Jeg sender mails sådan:
$header = 'From: ' . Information::INFORMATION_WEBMASTER_EMAIL .
'\r\n' .
'Reply-To: ' . Information::INFORMATION_WEBMASTER_EMAIL .
'\r\n' .
'X-Mailer: PHP/' . phpversion();
$subject = 'Match reservation id: ' . $reservationId;
$message = 'We hereby confirm that you have made a match ' .
'reservation via the ' . $clan_name . 'website' .
'\r\n' .
'Your reservation id is: ' . $reservationId .
'\r\n' .
'We will process your reservation and ' .
'contact you within 24 hours.' .
'\r\n' .
'If you want to cancel your reservation ' .
'please go to the ' . $clan_name . ' website.' .
'\r\n' .
'Use the reservation id above to cancel the ' .
'reservation.' .
'\r\n' .
'Sincerely ' . $clan_name;
mail($email, $subject, $message, $header);
hvor INFORMATION_WEBMASTER_EMAIL = 'not-serious@wep.dk'
men mailen havner i min spam bakke og ser sådan ud:
mailer-daemon@simon.dhnet.dk til mig
Vis detaljer 01.35 (13 timer siden) Svar
Your message did not reach some or all of the intended recipients.
Sent: Wed, 02 Jul 2008 01:36:48 +0200
Subject: Match reservation id: 4EBB233940EEF134
The following recipient(s) could not be reached:
isabilal@gmail.com
Error Type: SMTP
Remote server (195.41.46.251) issued an error.
hMailServer sent: RCPT TO:<isabilal@gmail.com>
Remote server replied: 550 <isabilal@gmail.com>: Sender address rejected: Invalid Sender Domain
hMailServer
Det ligner en SMTP fejl, er der nogen der et bud på hvad jeg skal gøre for at rette problemet?