Re: SMTP mail, need way of making sure mail is sent

From: Karim (karim3411_at_yahoo.moc)
Date: 05/19/04


Date: Wed, 19 May 2004 09:23:04 -0700


>> Hi:
>>
>> I'm working on an e-commerce site. Using the SMTP class, my site sends
> out
>> confirmation messages. It works most of the time, but sometimes raises an
>> error. I need a way of making sure it goes out every time. I thought
> about
>> wrapping a try-catch handler in loop that keeps on retrying if delivery
>> fails. Is this a good idea? If not, what is the best way of handling
> this
>> kind of thing?

Assuming you have access to your own mail server logs:
Write a program to check your mail server's operation log against your list
of outgoing addresses. This is an approach for testing at the end where it
actually goes out.

karim