SendMailJobTag Property
Gets the tag assigned by the developer to this job.

Namespace: MailBee.SmtpMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
public string Tag { get; }

Property Value

Type: String
A string assigned to the job by the developer, or empty string if tag was not assigned.

The developer can use tags to to keep track of the processed jobs. Tags also appear in the log helping to match log messages to particular jobs.

To enqueue a job so that it would have tag assigned, the developer should use Smtp.AddJob(string, string, EmailAddressCollection) or Smtp.AddJob(string, string, EmailAddressCollection, DataTable, object, bool, bool) methods.

See Also