28 references to SmtpDeliveryMethod
System (28)
net\System\Net\Configuration\SmtpSection.cs (11)
30
[ConfigurationProperty(ConfigurationStrings.DeliveryMethod, DefaultValue = (
SmtpDeliveryMethod
)
SmtpDeliveryMethod
.Network)]
31
public
SmtpDeliveryMethod
DeliveryMethod
34
return (
SmtpDeliveryMethod
)this[this.deliveryMethod];
105
new ConfigurationProperty(ConfigurationStrings.DeliveryMethod, typeof(
SmtpDeliveryMethod
),
SmtpDeliveryMethod
.Network, new SmtpDeliveryMethodTypeConverter(), null,
127
return
SmtpDeliveryMethod
.Network;
129
return
SmtpDeliveryMethod
.SpecifiedPickupDirectory;
132
return
SmtpDeliveryMethod
.PickupDirectoryFromIis;
178
internal
SmtpDeliveryMethod
DeliveryMethod
203
SmtpDeliveryMethod
deliveryMethod;
net\System\Net\mail\SmtpClient.cs (17)
44
SmtpDeliveryMethod
deliveryMethod =
SmtpDeliveryMethod
.Network;
318
public
SmtpDeliveryMethod
DeliveryMethod {
383
if (DeliveryMethod ==
SmtpDeliveryMethod
.Network) {
453
if (DeliveryMethod ==
SmtpDeliveryMethod
.Network)
494
case
SmtpDeliveryMethod
.PickupDirectoryFromIis:
496
goto case
SmtpDeliveryMethod
.SpecifiedPickupDirectory;
498
case
SmtpDeliveryMethod
.SpecifiedPickupDirectory:
506
case
SmtpDeliveryMethod
.Network:
517
message.Send(writer, DeliveryMethod !=
SmtpDeliveryMethod
.Network, allowUnicode);
522
if (DeliveryMethod ==
SmtpDeliveryMethod
.Network && recipientException != null) {
588
if (DeliveryMethod ==
SmtpDeliveryMethod
.Network)
633
case
SmtpDeliveryMethod
.PickupDirectoryFromIis:
635
goto case
SmtpDeliveryMethod
.SpecifiedPickupDirectory;
637
case
SmtpDeliveryMethod
.SpecifiedPickupDirectory:
656
case
SmtpDeliveryMethod
.Network:
892
message.BeginSend(writer, DeliveryMethod !=
SmtpDeliveryMethod
.Network,