CreateMHTMLBody For DHTML
I am trying to send a dynamic web page to e-mail using .createMHTMLBody with CDOSYS i can get it to work fine by using a general website such as google but when i try to send my page it fails, my website setup is: a user places an order, an order id is generated and placed into a session variable, user then goes through payment page once payment is confirmed an e-mail is sent using .createmhtmlbody, the page sent filters only the items the user has ordered by using the session variable created before. but the page errors it gives me error '8004021a' which means there is a problem with the data that the page generated, if i copy and paste the url from the code into a browser it works fine showing me the items a user has ordered.
would anyone know what i have done wrong
sorry if i haven't explained this very well
View Replies
I am writing an application to capture data with a form and then email the rendered form in an email. I can use CreateMHTMLBody to create the email, but need to complete the values of the form variables from the submitted form.Is there a way to iterate through the form variables within the body
of the Email having created it as per the above? The only other way I can think to do this is to manually read the source page line by line, parse it and set the form values manually.
But this approach seems rather clumsy.
View Replies
View Related
I am using the .createhtmlmbody to send a html email via my site. Some times the images are included as attachments and sometimes they are not. Is there anything that could be causing this? is it something that the mail server could be doing?
I know it changes all image tags to cid:xxxxx but like i say, the same code on other sites show the imgaes as attachments and the otehrs dont!
View Replies
View Related
I have an ASP page that I call on my server, say:
http://myserver.com/firstPage.asp
In this first ASP page, I want to send a MIME email that has the
contents of another ASP page which is located on the same server. So
the code looks like:
<%
Set objCdoMesg = Server.CreateObject("CDO.Message")
objCdoMesg.CreateMHTMLBody("http://myserver.com/secondPage.asp")
objCdoMesg.To = "me@mymail.com"
objCdoMesg.From = "me@mymail.com"
objCdoMesg.Subject = "Testing MIME messages"
objCdoMesg.Send
%>
This process will hang on the CreateMHTMLBody() method call. If I
move the second page to another server and reference it there, it's
fine. If I rename the second page to "secondPage.html" and leave it
on the local server and reference it that way (the second page doesn't
have any ASP code in it at this point, just HTML), it's fine.
It seems like the only time the hang occurs is when the requested file
is an ASP page and is located on the local server.
Anyone seen anything like this? I'm running on Windows 2000 Server
with all the current security updates. Seems like it may be something
in the way the process(es) are running.
View Replies
View Related
I'm trying to make a dynamic table where on the left side items are placed and on the right side the item clicked is shown. For an example look at www.uitdagen.nl uitgaan->cafes
This all works fine except when I use a ' or a newline a error is generated because in dhtml a ' is used to open and close a string. When i use a ' in the string it goes wrong because i already close the string in the string.
If already tried to use chr(39) etc. But this won't work because this still will generate a ' for the dhtml.
View Replies
View Related
Could somebody advise me on the best NG or forum to try and find help in
developing a web app using IE's DHTML capabilities - especially the WYSIWYG
editing aspect.
I'm really stuck on how to manipulate the rows and cells of a table once it
is in my editor.
View Replies
View Related
How to disable DHTML events in HTML/JavaScript. I am using one DIV tag. THis is displaying one menu. I wanted to diable the menu for some time.
View Replies
View Related
Advanced DHTML Dropdown List component (Javascript,ASP,.NET,PHP)
enhances usability of large dropdown lists with type & select feature.
It suggests possible matches for entries you type in the input box.
View Replies
View Related
I'm about to start a project,the idea is to have a web interface to let
user specify the URL of a target HTML document,
based on that URL, retrieved and parsed the HTML document using the DHTML
object model exposed by ActiveX
control WebBrowser, getting the position and dimension of each node inside
the HTML document, processed it and pass
the result back to the user as a new HTML document.
I understand by using webBrowser control, it will means load of works for
server and is not recommended, but I couldn't
find any other solution that could get the DHTML object model, specifically
those dimension info for nodes, eg: *.clientWidth,
*.clientHeight, *.offsetheight, etc. or perhaps there are better ways?
View Replies
View Related