Setting external SMTP Server in CDO

  • Thread starter Thread starter Von Shean
  • Start date Start date
V

Von Shean

I need to send ".mht" files to different recipients.
I have saved .mht files using CDO.

Now i have to send it across..
I have two options both have different types of problems

Using CDO
I have no idea how to set an external SMTP server since my host machine
will not have any SMTP virtual server. Any ideas pls?

Using System.Web.Mail.SmtpMail
I have an optin to set smtp server here. But when i attch .mht file the
mail that is send contains an attachment as an email and not an mht. Also on
opening the attached mail i fing to html only images and css files are send.
Any ideas on this?

Regards,
 
Hi,
Using CDO
I have no idea how to set an external SMTP server since my host machine
will not have any SMTP virtual server. Any ideas pls?

You probably mean CDONTS. CDO 2.1 allows to specify an SMTP server to use
through its CDO.Configuration object.
 
Back
Top