https://bugzilla.novell.com/show_bug.cgi?id=382670
Summary: SmtpClient does not support DeliveryMethod ==
SpecifiedPickupDirectory
Product: Mono: Class Libraries
Version: SVN
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: System
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
Found By: ---
Created an attachment (id=209823)
--> (https://bugzilla.novell.com/attachment.cgi?id=209823)
generated mail file on MS.NET
SmtpClient on Mono always uses DeliveryMethod "SmtpDeliveryMethod".
Running following test case on MS.NET results in the attached mail file to be
generated in the specified directory "c:\test".
using System;
using System.Net.Mail;
class Test {
static void Main() {
SmtpClient client = new SmtpClient();
client.PickupDirectoryLocation = "c:\\test";
client.DeliveryMethod =
SmtpDeliveryMethod.SpecifiedPickupDirectory;
client.Send("[EMAIL PROTECTED]", "[EMAIL PROTECTED]", "Test",
"Hello
World!");
}
}
Some website use SmtpClient to send out some sort of newsletter by mail to
(potentially many) subscribers. Using delivery method
"SpecifiedPickupDirectory" is very attractive in such cases.
--
Configure bugmail: https://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.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs