the simple SMS authentication service
Documentation
[COMPUTERIZED TRANSLATION] Bounce of a mall on a machine SysCo Linux lodging since PHP (31.08.05)
On a lodging Linux de SysCo, you can put in line un/des form which
sends electronic mails. If the address of the recipient is erroneous,
the mall bounce and returns in return to the administrator SysCo
machine instead of turning over on your premise or your webmaster.
Here what we suggest you.
The function mail() in PHP accepts five parameters: mail(string to,
string subject, string message [, string additional_headers [, string
additional_parameters ] ]). Only the three first are obligatory. The
fourth should also be filled; it is a question of giving a shipper to
the mall (it is at this address that a person will answer which will
answer the received mall). Using the fifth, one can make so that the
bounces leave at a precise address, rather than the administrator
SysCo machines.


mail("client@sonprovider.ch",
"Subject of the mall", "Hello, \r \r Au revoir\r ", "From:
webmaster@agenceweb.com "," - fwebmaster@agenceweb.com")


In this manner, if ' client@sonprovider.ch' exists, receives
the mall and answers it, it is webmaster@agenceweb.com which will
receive the answer, thanks to the 4e parameter.

In
the same way, if ' client@sonprovider.ch' does not exist (or any other
error), it is webmaster@agenceweb.com (thanks to the 5e parameter)
which will receive the mall in return, thus notifying the error. Note
that - F must be stuck to the address.

This does not
function with PHP under Windows, but all is not lost thanks to the
following easy way: to make a @ini_set("sendmail_from",
"webmaster@agenceweb.com") before calling the function
mail("client@sonprovider.ch", "Subject of the mall", "Hello,
\r \r Au revoir\r ", "From: webmaster@agenceweb.com"). @ in front
of the function ini_set allows not to turn over the error if the
waiter refuses this change of value.
Powered by Zmodules.net