Author |
|
Alex Shloma Newbie
Joined: 22 August 2014
Online Status: Offline Posts: 22
|
Posted: 21 September 2017 at 3:07am | IP Logged
|
|
|
Hi,
I get the MailBeeInvalidArgumentException exception invoking RelayFromEmlFile method: : 'No sender specified for the mail message.'
Error happens when I specify null or empty string for senderEmail parameter.
My goal is to organize the following SMTP dialog:
...
MAIL FROM:<>
RCPT TO:<recipient@domain>
...
How can I achieve this?
Currently I use DMS.Net.Mail.dll 10.0.4.525.
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 21 September 2017 at 3:15am | IP Logged
|
|
|
Hi,
MailBee.NET does not allow sending from empty sender. There is no way around it.
Regards,
Alex
|
Back to Top |
|
|
Alex Shloma Newbie
Joined: 22 August 2014
Online Status: Offline Posts: 22
|
Posted: 21 September 2017 at 4:34am | IP Logged
|
|
|
1. Can you please share some explanation as to why it was implemented this way?
I am asking, because Exchange Online in some cases sends empty string in "MAIL FROM: <>" command, when email is routed via connector to SMTP server. For example, when internal user sends email to the distribution list or office 365 group (think there are also other possible scenarios). After receiving and processing email, SMTP server must returns email back to Exchange Online using the same address in "MAIL FROM" command. But MailBee's SMTP component does not allow to achieve this.
2. Is it possible to add new method, that will accept empty string?
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 21 September 2017 at 6:05am | IP Logged
|
|
|
OK, your point is certainly convincing. I unblocked the ability to send from an empty address.
Now 'mailer.Send(null, null)' will send from what's specified in From: while 'mailer.Send("", null)' will send from an empty address.
The release candidate is: https://afterlogic.com/updates/mailbee_net.zip
Please note it uses license keys of v11 format. If you don't have one, please contact us via Helpdesk on your upgrade options.
Regards,
Alex
|
Back to Top |
|
|
Alex Shloma Newbie
Joined: 22 August 2014
Online Status: Offline Posts: 22
|
Posted: 04 October 2017 at 12:22am | IP Logged
|
|
|
Thanks, will test it.
When is the official release with this feature scheduled?
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 04 October 2017 at 6:16am | IP Logged
|
|
|
There is no exact ETA (we release it on "when it's done" basis) but most likely - in a few weeks.
Regards,
Alex
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 06 October 2017 at 10:15am | IP Logged
|
|
|
Pre-release version on the Nuget:
https://www.nuget.org/packages/MailBee.NET/11.2.0-rc
Regards,
Alex
|
Back to Top |
|
|