![]() ![]() However, the bounce address will default to a special address that forwards to the administrative contact address we have on file for your account), and some recipients may see notices like “via ” in their mail headers. If you don’t specify a bounce address at all, the message will still be delivered. What if I don’t specify a bounce address? The PHP mail() function documentation has more details explaining the various mail() parameters. ![]() The address must end with your domain name to be accepted by our mail servers. $from_address = ($to, $subject, $body, "From: $from_address", "-f $from_address") ĭoing this makes sure that “bounces” go to the correct address. If you want to specify a bounce address, your script should use "-f (where “something” is the address you want to use, of course) as the fifth parameter to PHP’s mail() function. See our page explaining the “Return-Path” for more information. When you use PHP to send email, you can specify the “bounce” (“Return-Path”) address to make sure that undeliverable messages are sent where you expect. You can send email from PHP scripts (as long as you follow our anti-spam policies, described below). To see a more detailed answer customized for you, type your domain name here:
0 Comments
Leave a Reply. |