Jump to content

[SOLVED] Major Problem Sending Email with PHP Mail()


DamienRoche

Recommended Posts

Hi Guys. I am having a really annoying problem sending email using PHP mail() function.

 

I am having the email sent to several email addresses(3) yet sometimes 1 or 2 do not receive it..and never do. I've been waiting on one for over a week. I think it's safe to say it isn't coming.

 

So my code is fine because it actually sends emails. I'm just wondering if the server is having problems sending multiple emails.

 

I have tried with multiple $to:

 

$to = "[email protected]";

$to = "[email protected]";

 

and I have also tried with the bcc in the header tags. Both send emails yet 'sometimes', more often than not, an email will not get through.

 

I am using Mime.

 

Can anyone advise on how I can troubleshoot this. Thanks.

don't use multiple variables use commas in one variable

 

Can you give me an example? I'm not that sharp with the syntax.

 

Do you mean:

 

$to = "[email protected]","[email protected]";

 

Thanks.

$to = "[email protected],[email protected]";

 

let me know if that works any better 4 u, should.

 

Magic, my friend. It works perfectly now. Thank you so much for your time.

 

Regards,

 

Damien.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.