473,725 Members | 1,734 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Setting external SMTP Server in CDO

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,
Nov 15 '05 #1
1 2009
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.Configurati on object.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"Von Shean" <vo******@hotma il.com> wrote in message
news:Og******** *****@TK2MSFTNG P10.phx.gbl... 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,


Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
3443
by: Andy | last post by:
Hi Gang Our network administrator does not want to install the IIS SMTP server on our intranet. He wants me to use our existing SMTP server "mail.smpi.siemens.ca". Can I do this with IIS?? Is this a setting in an ASP if I'm not running the IIS SMTP server? We are running on Windows 2000 SP4 with IIS5. Thanks
6
9049
by: Peter Croft | last post by:
Hello. Can someone please tell me how to set the priority of an email message sent from an ASP script using CDOSYS as below - set oCdoMsg = server.createobject("CDO.Message") oCdoMsg.from=... oCdoMsg.to=... oCdoMsg.subject=... oCdoMsg.importance=1 ' fails oCdoMsg.HTMLBody=....
0
1124
by: Robert Smith | last post by:
Hello, I have created a simple asp web page to send an email with the send button event as attached. However when I click the send button nothing happens and I know the email address is correct. I don't recieve the email. I think that this could be because I haven't set up my smtp correctly. The smtp is set to Default SMTP server with an Unassigned ip address. I'm using windows 2000 (desktop edition not server). What should my smtp...
5
8795
by: Andreas | last post by:
I am working with three computers, my developing computer, a Web Server and a Mail Server (Exchange). I am trying to send a email from the Web Server via the Mail Server to a valid email address with this code: MailMessage msgMail = new MailMessage(); msgMail.To = "test@address.com"; msgMail.From = "from@address.com"; msgMail.Subject = "Mail Example Subject";
0
1138
by: Rob R. Ainscough | last post by:
I have a web server running (IIS 6) my .NET 2.0 web app and my web app uses System.Net.Mail to send EMail's to customers. The EMail host (mail.speakeasy.net) I was using to does not support relay (reverse DNS) for the EMail accounts I was using (the accounts do require authentication which I provide correctly). In my development environment my web app didn't have any problems sending the EMail (was it using Outlook Express to do this?)...
1
6500
by: laredotornado | last post by:
Hi, I'm using PHP 4.4.4 on Apache 2 on Fedora Core 5. PHP was installed using Apache's apxs and the php library was installed to /usr/local/php. However, when I set my "error_reporting" setting to be "E_ALL", notices are still not getting reported. The perms on my file are 664, with owner root and group root. The php.ini file is located at /usr/local/lib/php/php.ini. Any ideas why the setting does not seem to be having an effect? ...
11
22368
by: fdu.xiaojf | last post by:
Hi, I just want to send a very simple email from within python. I think the standard module of smtpd in python can do this, but I haven't found documents about how to use it after googleing. Are there any examples of using smtpd ? I'm not an expert,so I need some examples to learn how to use it. Or maybe there is a better way to to this?
1
1247
by: Rotsey | last post by:
Hi, I am using System.Net.Mail.SmtpClient to send mail. I used localhost as the host but this did not work. For my app to work on a installed PC do I have specify the SMTP server of the PC???? Do I need to have a config setting for this or can I
3
4160
by: IanReardon | last post by:
Is it possible to configure an external SMTP server to route all of your outgoing mail through on Linux? I know in php.ini there is a parameter, but it says its only for windows? Can I do this on Linux?
0
8747
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9392
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9246
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8069
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6694
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4505
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4773
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3211
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2619
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.