EldoS | Feel safer!

Software components for data protection, secure storage and transfer

SBMIME.EElMIMEError: Mandatory field To is empty

#11911
Posted: 12/11/2009 03:37:02
by  Flemming Hansen
Hi

When i try to send an (S)Mime email where the To field is empty, but the CC and/or BCC is filled, i still get the following error.

SBMIME.EElMIMEError: Mandatory field To is empty
at SBSimpleMIME.TElSimpleMIMEMessage.PrepareForSaving()
at SBSimpleMIME.TElSimpleMIMEMessage.SaveToText(TElStringList Text)
at SBSMTPClient.TElSMTPClient.Send(TElSimpleMIMEMessage Message)


Shouldnt i be allowed to send an email under these conditions even if the To field is empty?

Using the 7.2.0.167 .Net version of SecureBlackbox

If i fill out the To field all works fine.
#11913
Posted: 12/11/2009 05:30:46
by Eugene Mayevski (Team)

RFC 822, A.3.1.

Note that the "Bcc" field may be empty, while the "To" field
is required to have at least one address.

This RFC was never obsoleted.


Sincerely yours
Eugene Mayevski
#11914
Posted: 12/11/2009 06:58:45
by  Flemming Hansen
Hi Eugene

Thanks for the fast answer.

I understand you follow the RFC, but do you have a way to override this?
The mailclients i have tried does allow this, and at least Exchange will accept it.
We have several business cases where it would be valuable to allow this.

Best Regards
Flemming

PS: Not to attack your understanding of the RFC, but the RFC 822 from http://www.faqs.org/rfcs/rfc822.html shows the following:

Code

Date:     26 Aug 76 1429 EDT        Date:     26 Aug 76 1429 EDT
From:     Jones@Registry.Org   or   From:     Jones@Registry.Org
Bcc:                                            To:       Smith@Registry.Org

        Note that the "Bcc" field may be empty, while the  "To"  field
        is required to have at least one address.



As i read the above, you can choose the left or the righ method.
I would like to use the left one, where there is no To:
#11915
Posted: 12/11/2009 07:35:18
by Eugene Mayevski (Team)

Maybe it's a miunderstanding. I will talk to developers regarding this.


Sincerely yours
Eugene Mayevski
#11916
Posted: 12/11/2009 07:54:01
by Eugene Mayevski (Team)

You are right, later RFCs (namely 5322) specify mandatory and optional fields. From is mandatory, To is not. We will fix this in the next build.


Sincerely yours
Eugene Mayevski
#12070
Posted: 01/07/2010 09:11:58
by  Flemming Hansen
Hi Eugene

I can see that you have released a new version 7.2.168 on the 26th december.

Does this version contain the fix?

When i look in the Changes.txt file, there are no mention about (S)MIME changes.
#12071
Posted: 01/07/2010 09:43:28
by Eugene Mayevski (Team)

Yes, the code has been modified. The information just didn't get to changes.txt.


Sincerely yours
Eugene Mayevski

Reply

Statistics

Topic viewed 2255 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!