Thanks a lot that hooked me up. It seems that System.Web.Mail is too much of
a light weight wrapper around CDO to do enterprise email and it's best to
call CDO directly.

-----Original Message-----
From: Unmoderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Chris Howlett
Sent: Saturday, June 25, 2005 6:51 PM
To: [email protected]
Subject: Re: [ADVANCED-DOTNET] SmtpMail and port configuration

You should be able to specify the smtp port within the message itself,
something like


mailMessage.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtps
erverport", "25");

I haven't used this myself, but I have used this technique for sending smtp
authentication credentials.

See
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdosys/html
/_cdosys_message_fields_and_streams.asp
and
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdosys/html
/_cdosys_configuration_coclass.asp



> -----Original Message-----
> From: Unmoderated discussion of advanced .NET topics. [mailto:ADVANCED-
> [EMAIL PROTECTED] On Behalf Of Alex Smotritsky
> Sent: June 25, 2005 9:19 PM
> To: [email protected]
> Subject: [ADVANCED-DOTNET] SmtpMail and port configuration
>
> It doesn't seem to be possible to specify an smtp port number thru
> SmtpMail.
> Am I missing something?
>
>
>
>
>
>
> ===================================
> This list is hosted by DevelopMentor.  http://www.develop.com
>
> View archives and manage your subscription(s) at
> http://discuss.develop.com

===================================
This list is hosted by DevelopMentor.  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to