Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mail sending/delivering order

Status
Not open for further replies.

Sleidia

Technical User
Joined
May 4, 2001
Messages
1,284
Location
FR
Hello,

I use the following PHP code to send 2 emails consecutively:

mail($mess_from_adr, "Message_1", $message_1, "From: $back_to_full", "-f $back_to_adr");
mail($mess_from_adr, "Message_2", $message_2, "From: $back_to_full", "-f $back_to_adr");

The problem is that sometimes the receiver gets message_2 before message_1.

Is there any way I can force Sendmail to deliver messages always in the right order? Does the problem come from the receiver?

Thank you very much.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top