Teufel
|
Posted: 01/27/2002, 6:02 AM |
|
Looking at the 'Tell a Friend' example, we can see that the button to send the message is associated with an insert event.
Two steps are then performed:
1) Log into a table named 'tellafriend_log' the email data (name of SENDER and RECEIVER, fields TO and FROM, and the CONTENTS of the message), *plus* a date/timestamp of when the email was sent.
2) Actually send the email by invoking the necessary language specific commands, passing as parameter again all necessary data (TO, FROM, REPLY-TO, CONTENTS, etc.).
If there is some problem with sending the email, we would end up with a logged entry telling me that my email was sent, when it actually was not.
I am developing a critical application where I have to be sure that the email was sent. How am I supposed to guarantee that?
FYI, I am using PHP, in case you can point me to some snippet or class which would guarantee that!
TIA,
Teufel
|
|
|
Alex Alexapolsky
|
Posted: 01/28/2002, 4:45 AM |
|
The email delivery should be checked by an outer program ,
e.g. you can set up your SendMail program or MS Exchange to deliver certain
email that bounces back to admin email.
|
|
|
|