Hi folks:

As usual, I come bearing questions. Today's topic is the SMTPSocket class. In particular, I'm wondering a bit about it's order of operations.

Set-up:
Let's say I've populated the message queue with... 5 messages. The second message is intended for a user who's mailbox has gone over quota, and cannot receive additional messages. The SMTP server will give an immediate rejection error to the SMTPSocket.


So, here's what I'm wondering:

1. If I do not trap the ServerError event, does the app choke and die?

2. If I do trap the ServerError event, does the SMTPSocket continue to process and send messages in the mail queue? I see from the Language Reference that when the ServerError event occurs, the e-mail is removed from the queue.


Thanks!

--
 _________________________________________
|                                         |
| ED LEE               ed_lee @ ncsu.edu  |
|_________________________________________|
|                                         |
|                Windows Systems Support  |
|                      College of Design  |
|                    NC State University  |
|_________________________________________|

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to