Setting external SMTP Server in CDO

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,
 
D

Dmitriy Lapshin [C# / .NET MVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top