473,387 Members | 1,569 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Pasing Values To Mhtml When Making Cdo:masage E Mail

Hello,

Please help me with this problem:
I am trying to send an e-mail with cdo message, and I used the following script:

objEmail.CreateMHTMLBody ("http://localhost/medija.stan/emailpriprema.asp")

This works OK, but I want to use variables from the first page in this emailpriprema.asp.

So to clarify:
"A" page - calls email page "B" - which uses "C" page ("emailpriprema.asp") by objEmail.CreateMHTMLBody.
How do I transfer variables from "A" to "C" page?

Thanks to devoted developers!
Nov 14 '07 #1
1 1278
jhardman
3,406 Expert 2GB
Hmm, I've never tried to do this, but have you tried putting values in querystring?
Expand|Select|Wrap|Line Numbers
  1. objEmail.CreateMHTMLBody ("http://localhost/medija.stan/emailpriprema.asp?user=JohnnyStorm&ID=HumanTorch") 
Another option you could try is using session-level variables. Ever used the session?

Jared
Nov 16 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: newbie | last post by:
Hi all , I'm using CDO from my vb component to fire email. The problem is whenever one of the email addresses in to, or cc is wrong then none of the mails are fired even to the correct...
2
by: Kindler Chase | last post by:
win2k server IIS5 CDO Mail Using CDO mail, I'm looping through several email addresses and sending emails. Everything works fine, however, I'd like to set a variable based on the success or not...
3
by: connie | last post by:
I have an E-mail ASP Web form that is using a CDO Mail Object. This form has to be filled out before the customer can download our demo. Currently, the customer fills out the form, clicks to...
2
by: M P | last post by:
Hi! I have been using CDO Mail but the message body is plain text. Is there a way that I may send an HTML body so that I can format some tables? Mark
5
by: Stuart Palmer | last post by:
Hi, I am trying to get cdo.message working on my home development machine, however, when I send it it appears to get stuck in the queue and never actually gets sent. If I don't have a domain...
0
by: Andyza | last post by:
I use the method below to send emails from an asp page that's part of a web application: <!--METADATA TYPE="typelib" UUID="CD000000-8B95-11D1-82DB-00C04FB1625D" NAME="CDO for Windows 2000...
3
by: Leah | last post by:
I'm updating an app currently in Access 2000, which uses Outlook 2000 (sr1a) to send emails behind the scenes. Several issues have come up since I've started work on this. This office is moving...
0
by: Bill Nguyen | last post by:
Please take a look at the code below. I kept getting the error message: CDO.Message.1 error '80040213' - The transport failed to connect to the server. Win 2003 IIS 6.0 SMTP configured...
0
by: Bill nguyen | last post by:
The following function gave an error 438 Object doesn't support this property or method. The same function ran ok on another VB 6. What am i missing? Thanks Bill objConfig =...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...

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.