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