Advertisement

05.10.2001 at 02:48AM PDT, ID: 20116047
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

5.6

HTML Mails with CDO for NTS

Asked by BNBJ in Active Server Pages (ASP)

Tags: , ,

I seem to have a problems sending an HTML formatted email, with an attachment using ASP.

I can create an HTML mail using CDONTS no problem.
I can send a plain text email with an attachment, no problem.

The problem is when I try to combine the 2.  I am embedding graphics within the HTML email using the AttachURL method.  I'm trying to also attach an EXE fie as a seperate attachment.  When I recieve the mail a blank mail appears with 2 attachments.  The first is the HTML email and the second is the attached EXE. I would like the mail to show the HTML formatted email as the initial mail and not as an attachment but this doesn't seem to work.

Any ideas?

Here's my code.

Dim myMail, HTML
Set myMail = CreateObject("CDONTS.NewMail")      
HTML = HTML & "<html>"
HTML = HTML & "<head>"
HTML = HTML & "<title>Sample NewMail</title>"
HTML = HTML & "</head>"
HTML = HTML & "<body>"
HTML = HTML & "<p align=center>"
HTML = HTML & "<img src=""banner.gif""></p>"
HTML = HTML & "<p align=center>"
HTML = HTML & "<font color=red>This is a sample message being sent using HTML.</font></p></body>"
HTML = HTML & "</html>"      
myMail.From = "test@test.co.uk"
myMail.To = "me@here.co.uk"
myMail.Subject = "Test HTML Mail with Attachment"
myMail.AttachURL "D:\wwwroot\mysite\images\banner.gif", "banner.gif"
myMail.AttachFile "D:\wwwroot\mysite\media\test.exe"
myMail.BodyFormat = 0
myMail.MailFormat = 0
myMail.Body = HTML
myMail.Send
Set myMail = Nothing

Thanks a lot....

Start Free Trial
 
Loading Advertisement...
 
[+][-]05.10.2001 at 08:11AM PDT, ID: 6067389

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.10.2001 at 09:47AM PDT, ID: 6067793

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.10.2001 at 10:10AM PDT, ID: 6067866

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.10.2001 at 10:26AM PDT, ID: 6067923

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.10.2001 at 10:44AM PDT, ID: 6067999

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.10.2001 at 10:45AM PDT, ID: 6068006

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.10.2001 at 11:48AM PDT, ID: 6068253

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.10.2001 at 01:00PM PDT, ID: 6068482

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.10.2001 at 06:23PM PDT, ID: 6069270

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.11.2001 at 02:10AM PDT, ID: 6070269

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.11.2001 at 02:13AM PDT, ID: 6070282

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Active Server Pages (ASP)
Tags: attachurl, cdo, exe
Sign Up Now!
Solution Provided By: ykf2000
Participating Experts: 4
Solution Grade: B
 
 
[+][-]05.11.2001 at 07:38AM PDT, ID: 6071196

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.19.2005 at 06:30AM PDT, ID: 14911515

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.19.2005 at 06:32AM PDT, ID: 14911523

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.19.2005 at 06:46AM PDT, ID: 14911640

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.19.2005 at 10:57PM PDT, ID: 14917792

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.20.2005 at 01:49AM PDT, ID: 14918342

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32