| Dart Home | PowerTCP Mail for .NET | Custom Development | Reply | PowerTCP Mail for .NET Topics | Forums |
| Author | Forum: PowerTCP Mail for .NET Topic: Symantec Mail Security |
| pvestuto From: Kildeer, IL USA Posts: 44 Member Since: 07/03/01 |
posted April 7, 2010 10:04 AM One of our customers tries to send email with attachments out of our application. The attachments get replaced with a file called Quarantined Attachment.txt with file contents of: Symantec Mail Security replaced 2010031209292592_Report_0.7055475.TXT with this text message. The original file was unscannable and was quarantined. ID:EXCHANGE::XXX The file sends properly as an attachment when she sends it using Outlook. So, the file is not corrupt. We are using version 3.1.0.1 of Dart.PowerTCP.Mail.DLl. The code used for adding attachments to the MessageStream object is: Dim m As New System.IO.MemoryStream(OurByteArray) .Attachments.Add(New MimeAttachmentStream(m, SomeFileName, ContentType.AutoDetect, ContentEncoding.Base64, "")) Before debugging the Symantec Mail Security side of things, I was wondering if you've come across this issue before. thanks, - Paul - |
| Jason Farrar (Admin) From: Oneida, NY USA Posts: 223 Member Since: 07/24/07 Extra Support Options Custom Application Development |
posted April 12, 2010 4:46 PM We have not come across this issue before. All things being equal it could be something in the attachment headers, i.e. our control has something different in it than outlook does. Also if Outlook is set on RTF instead of HTML than the whole e-mail message is packaged differently. |
| pvestuto From: Kildeer, IL USA Posts: 44 Member Since: 07/03/01 |
posted April 12, 2010 5:13 PM Where would you check if Outlook is set on RTF instead of HTML? If the email is packaged differently, does the supplied code still apply - ContentType.AutoDetect, ContentEncoding.Base64? |
| Jason Farrar (Admin) From: Oneida, NY USA Posts: 223 Member Since: 07/24/07 Extra Support Options Custom Application Development |
posted April 14, 2010 11:56 AM All attachments need to be encoded. Base64 (also known as MIME in this context) encoding is typical and supported by most clients. Let me clarify a bit about the RTF E-mails. If the E-mail is RTF it still adheres to the necessary RFC specifications, it's just that the RTF part of the E-mail is added as an attachment typically named winmail.dat. It would probably be worth looking at the raw E-mail from outlook (With Outlook express, you can export it to a file. I'm not sure about Outlook.) and the results of calling ToString on a message object to see what, if any, difference there is in the attachment headers.If you want us to take a look, you can send the E-mails as an attachment to support@dart.com. |
| Reply | PowerTCP Mail for .NET Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|