|
Posted by Rik Wasmus on 01/05/08 12:53
On Sat, 05 Jan 2008 13:48:54 +0100, flowover <flowover.73@gmail.com> wro=
te:
> On Jan 5, 4:46 am, flowover <flowover...@gmail.com> wrote:
>> On Jan 5, 3:32 am, Hush <ke...@skummer.com> wrote:
>> > php beginner here...
>> > I'm having some trouble sending mail with php to hotmail/gmail
>> > accounts. Other domains work fine (recieved email after 2 minutes).=
>> > Hotmail accounts do not receive the mail at all.
>>
>> > Does anyone have any experience/solution to this issue?
>>
>> > My code is below:
>>
>> > $message =3D "Click this (exact) link for activation: $link=
";
>> > $message =3D wordwrap($message, 70);
>> > $headers =3D "From: supp...@xxx.com\n";
>> > $headers .=3D "MIME-Version: 1.0\n";
>> > $headers .=3D "Content-type: text/html; charset=3Diso-8859-=
1\n";
>> > $headers .=3D "Reply-To: Support <supp...@xxx.com>\n";
>> > $headers .=3D "X-Priority: 1\n";
>> > $headers .=3D "X-MSMail-Priority: High\n";
>> > $headers .=3D "X-Mailer: My mailer";
>>
>> > mail($email,$subject,$message,$headers);
>>
>> > the $email variable is declared outside this code. And works fine.
>>
>> > Regards,
>>
>> > Hush
>>
>> One more issue is that you may not have checked your spam folders.
>
> Sorry for the broken reply into many posts. I just noticed you have
> no From: field in your headers. This could annoy spam filters. Reply=
-
> to is one thing, but they may be looking for a valid From: that is the=
> same domain you are sending the mail from.
He has.....
Hotmail is notoriously difficult BTW, so check all servers for possible =
=
blacklisting, and there is some page @ hotmail where you can assure them=
=
you're not sending spam. If only I could remember/find the url somewhere=
....
-- =
Rik Wasmus
Navigation:
[Reply to this message]
|