Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with Mapimail.vcx
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00477327
Message ID:
00484715
Vues:
44
Hi Nigel,

I'm not 100% understand.

1) Do you suggest to add necessary code to your class Error method? If these errors arise, obviously, the e-mail could not be send. I was thinking, it's the class responsibility to handle these errors properly.

2) Could you please explain it more precise (may be with some code examples, if it's possible).

Thanks a lot in advance and thanks to this class, which makes our developer live much easier.

>Nadya,
>
>Preventing errors in the class will infringe on higher level error handlers. You can put your own code in the error event to do whatever you want. This is an issue that has been raised before (once even whilst I was talking to a user group about classes) and I've always given the same answer.
>
>If you make a note of the error numbers (normally 1426 and 1429) and put something in the error event to ignore the errors that are causing you problems but pass on all other errors to the application error handler.
>
>As for the issue with not sending the mail, the only solution I can think of is to issue a ReadMail with the fetch new mail set true to force the mail to be sent (if the problem is that the client leaves the message in it's Outbox).
>
>
>>Hi Nigel,
>>
>>While we're talking about your class, I have couple of questions/problems regarding it.
>>
>>1) If default mail client is not properly set up, I see an error: "Ole Dispatch...". Is it possible to prevent these errors?
>>
>>2) After we set up Outlook Express properly on this machine (others use GroupWise) and I tried to send mail using last name as a recepient (it works fine in GroupWise), I got another Dispatch error about invalid recepient name.
>>
>>On Friday I worked at home and jumped to our server through PC Anywhere and send message to my home e-mail address. It doesn't arive. Is there a way to check, is message actually recieved or not?
>>
>>Thanks a lot in advance.
>>
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform