Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET SMTP

 AfterLogic Forum : MailBee.NET SMTP
Subject Topic: mailer.SendAsync get feedback Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
KSH
Newbie
Newbie


Joined: 23 October 2017
Online Status: Offline
Posts: 3
Posted: 23 October 2017 at 7:54am | IP Logged Quote KSH

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 View KSH's Profile Search for other posts by KSH
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 23 October 2017 at 8:32am | IP Logged Quote Alex

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 View Alex's Profile Search for other posts by Alex
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide