[Mono-bugs] [Bug 382670] New: SmtpClient does not support DeliveryMethod == SpecifiedPickupDirectory
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Apr 23 04:58:29 EDT 2008
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: mono-bugs at lists.ximian.com
ReportedBy: juraj at hotfeet.ch
QAContact: mono-bugs at lists.ximian.com
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("js at hotfeet.ch", "info at hotfeet.ch", "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.
More information about the mono-bugs
mailing list