ASP CDO.Message

Posted on 2009-05-13
Medium Priority
Last Modified: 2012-05-06
Dear Experts

I need to create CDO.Message for my web site.
I use ASP

I need a very good example for it?
could you please provide me one?
thank you
Question by:Braveheartli
  • 3
  • 2
LVL 12

Assisted Solution

GuitarRich earned 1400 total points
ID: 24373293
asp.net or asp classic?
this is classic:
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.TextBody="This is a message."
set myMail=nothing
and .net
 MailMessage mail = new MailMessage();

mail.To = "receivers@email.address";
mail.From = "senders@email.address";
mail.BodyFormat = MailFormat.Text;
mail.Subject = "Subject of this Email";
mail.Body = "Body of this message.";

LVL 12

Assisted Solution

GuitarRich earned 1400 total points
ID: 24373295

Author Comment

ID: 24373342
I use classic one,
but where is the section for username and password?
where is the SMTP address?
7 new features that'll make your work life better

It’s our mission to create a product that solves the huge challenges you face at work every day. In case you missed it, here are 7 delightful things we've added recently to monday to make it even more awesome.

LVL 12

Accepted Solution

GuitarRich earned 1400 total points
ID: 24373356
have a look at this page - there are a number of examples here http://www.w3schools.com/asp/asp_send_email.asp
LVL 31

Assisted Solution

by:Wayne Barron
Wayne Barron earned 600 total points
ID: 24373389
check out #3


Have a good one.
LVL 31

Expert Comment

by:Wayne Barron
ID: 24373905
@Braveheartli: >> but where is the section for username and password?

If you was wanting the Username and Password sections.
The don't you think that mine should have been the Accepted?
Considering that it was the only one that had the information provided?

Anyway, no big deal. We all pitched it right? Right.
For anyone that comes in here and wants the code that uses the
"Username & Password" Please view my post here: http:Q_24404170.html?cid=235#24373389

Have a good one all.

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
There is a wide range of advantages associated with the use of ASP.NET. This is why this programming framework is used to create excellent enterprise-class websites, technologies, and web applications.
How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…
From store locators to asset tracking and route optimization, learn how leading companies are using Google Maps APIs throughout the customer journey to increase checkout conversions, boost user engagement, and optimize order fulfillment. Powered …

597 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question