MailBee.NET troubleshooting

MailBee.NET Objects MailBee.NET Objects MailBee.NET Objects .NET .NET .NET SMTP SMTP SMTP POP3 POP3 POP3 IMAP IMAP IMAP problem problem problem send mail send mail send mail receive mail receive mail receive mail error error error
To make MailBee.NET log all activity into a log file, use mailer.Log property (assuming mailer is an instance of Smtp, Pop3, or Imap class). Log file may help you to quickly find out the cause of the problem.

To disable all advanced features and achieve maximum compatibility level with all mail servers, set Global.SafeMode = true before using MailBee.NET in the code. This measure can be used together with other debugging options listed in this topic.

Authentication (wrong login or password) problems often indicate login name is incorrect (for instance, 'user@domain' or 'domain\user' is expected while 'user' was supplied, or vice versa).

If you experience an error on attempt to send an e-mail to a non-local e-mail address, you should make sure you enabled SMTP authentication in MailBee.NET. If you're adding your SMTP server definition to Smtp.SmtpServers collection using the code like mailer.SmtpServers.Add(serverName), you should change it to mailer.SmtpServers.Add(serverName, userName, password) where mailer is an Smtp instance, userName and password correspond to a mail account you're sending your e-mail from.
Back to articles list