[Mono-bugs] [Bug 579585] New: When sending a email with one AlternativeView does not send LinkedResources.
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Feb 12 13:26:33 EST 2010
http://bugzilla.novell.com/show_bug.cgi?id=579585
http://bugzilla.novell.com/show_bug.cgi?id=579585#c0
Summary: When sending a email with one AlternativeView does not
send LinkedResources.
Classification: Mono
Product: Mono: Class Libraries
Version: SVN
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P5 - None
Component: System
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: asgeir.halldorsson at dempseyclark.is
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.89 Safari/532.5
When sending a email with only one AlternativeView and no Attachments then
LinkedResources are ignored.
I looked at the code quick and saw this
private void SendWithoutAttachments (MailMessage message, string boundary, bool
attachmentExists)
{
if (message.Body == null &&
message.AlternateViews.Count == 1)
SendBodylessSingleAlternate
(message.AlternateViews [0]);
else if (message.AlternateViews.Count > 0)
SendBodyWithAlternateViews (message, boundary,
attachmentExists);
else
SendSimpleBody (message);
}
And SendBodylessSingleAlternate ignores the LinkedResources.
This is working in Windows .NET
Reproducible: Always
Steps to Reproduce:
See Details
Actual Results:
No linked resources are in the resulting email. The html mail I sent had no
images.
Expected Results:
Images embedded in message
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list