Author |
|
KSH Newbie
Joined: 23 October 2017
Online Status: Offline Posts: 3
|
Posted: 23 October 2017 at 7:54am | IP Logged
|
|
|
Hello,
I'm new on mailbee. I try to give some tag-id to the mailer.message, to get some feedback, if the mail was send successful in asyncron-mode.
In the doc you discribe to use mailer.BeginSend(), but in visual studio this method is marked as obsolete. The newer methode is mailer.SendAsync(). Where can I ad a tag and how do i track, to handle if the mails was successful sended.
Thanks for your help.
T.K.
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 23 October 2017 at 8:32am | IP Logged
|
|
|
All methods (Send, BeginSend, SendAsync) behave identically in terms of functionality, the only difference is how threading occurs behind the scenes. BeginSend can be used if you wish, it's just harder to use than SendAsync which is used almost identically to .Send, with just 'await' keyword inserted before the method call.
As for tag-id, what exactly you need? For instance, you can insert something in Subject field so that when someone replies to your email, that unique id still remains in the reply (this is how many helpdesk systems work).
Regards,
Alex
|
Back to Top |
|
|