PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
In this code, the mail got sent exactly the same copy to both email recipients.
The problem is that I want to send $mailto different subject and body from $Email. (eg, we want to send product code or credit card number to our own staff but we don't want a client to see our product code or his credit card number). Also I want the headers to be different so that when we get an e-mail from a client we can reply automaticly.
The main problem is that I got blocked by gmail when sent the mail scripts to. Is there a way in if statement I can tell the mail to send spefific headers and message to specific email recipient? oh, $email is post from order form
a@test.com
headers:B Sales Deaprtment b@test.com
message: thanks you for buying b products
b@test.comhis
reply to: a@test.com
headers: Client a@test.com
message: here's his order id
his credit card number
his order id
his order items
our inter product code for the item is: