CDONTS HTML Mails With Images
I got a little problem while sending HTML e-mails with CDONTS.
I generate my e-mail body without problems into a string variable. When I
display it to the browser via a "response.write", it's OK, including images.
Then I set this string variable to the CDONTS.Newmail object (body
property), and I send the mail. Code:
View Replies
ADVERTISEMENT
Can somebody tell me, How can we send e-Mails with ASP without using CDONTS?
Because some one told me that, it's possible to send e-Mails without using CDONTS. But i don't know how.
View Replies
View Related
I am writing an ASP page for sending mails using CDONTS component. Is there any way to capture errors if the components fails to send mails?
View Replies
View Related
I want to send e-mails from my asp pages but don't know how to achieve that. I have tried to create CDO/CDONTS server objects but without luck. I guess I don't have SMTP installed or not configured appropriately.
Can you help me here? What do I need to do (and if complicated how is it done) to get an SMTP server up an running?
View Replies
View Related
Could you be so kind and gives me a function which creates mail in ASP language. But I would like to create a mail with ENTER breaklines and I would like to have background changed, bold fonts, so I mean to use HTML code to create such mails. Is it possible in ASP?
View Replies
View Related
While working on changing our email page, I noticed that it wasn't
working - either the original or my changed page. The page would
acknowledge the email as being sent (i.e. no errors were reported, and
it moved to the next portion of the page).
I tracked the problem down to an <img> tag. No matter how I form it, it
crashes the mail message. I even pointed it to an image on Microsoft's
website, in case it was some bizarre permissions issue. I've tried it
with both CDO.Message and CDONTS.NewMail. Attached is the line of code
that's bombing out the mail message: Code:
View Replies
View Related
1. I have image I want to display that to a button how can I do that. I want to fire the on click event too 2. if 1 is not possible then how can I set image to have oncclick event, currently I get object nbot found error:
code is like this:
<button ID ="Sel" name="Sel" OnClick="moveOptions(this.form.AvailableInd,
this.form.SelectedInd);" ><img src = "/images/movedown.gif" alt="Remove"
title="Remove"></button>
<button ID ="Del" name="Del" OnClick="moveOptions(this.form.SelectedInd,
this.form.AvailableInd);" ><img src= "/images/moveup.gif" alt="Add"
title="Add"></button>
above code shows me the button which I dont want and just want to display
image when I tried following code, moveoptions doesnt work
<img src = "/images/movedown.gif" alt="Remove" title="Remove"
OnClick="moveOptions(this.form.AvailableInd, this.form.SelectedInd);">
<img src= "/images/moveup.gif" alt="Add" title="Add"
OnClick="moveOptions(this.form.SelectedInd, this.form.AvailableInd);" >
View Replies
View Related
I'd like to take a HTML document as input (preferably a HTTP URL to a HTML / PHP document), render the page as a web browser would, and display the output as a graphic - kinda similar to what the <object> tag can do in HTML (i.e. within the Windows Explorer Web View, you could "Preview" HTML documents like a graphic etc.)
It doesnt matter too much whether the rendering needs to be done in VB.net or ASP.net - although I'd prefer ASP.net!! To be honest, the only method I can think of for doing this is to open the page in an IE window using vb.net, take a sceenshot and resize! But as the request could be run as and when,
I think that it'd add a large workload to the server if it has to launch a (reasonably large) .exe every time!! Plus that method would also rely on no other windows appearing on top of the preview window before the screenshot is taken!!
View Replies
View Related
I need to grab product info including images from specified websites with no RSS or common structure.
I've been searching and reading articles for 2 days and have played around with grabbing html from a site and trying to find out what to do with it at that point. I think I need to parse it for the patterns I'm looking for, (creating an array out of them?) and save that information to my DB. I also want to grab the actual images and display them from my site so that the product suppliers bandwidth is not used by the pics being on my site...
I'm thinking, with my current skills which are limited, I'll be doing this with ASP (vbscript) and javascript (if necessary). I'm not great with those but good enough to figure stuff out eventually.
Can you tell me if you think I'm on the right track and recommend any learning resources specific to the skills needed to accomplish this?
If it's not too much to ask, a bit of pseudocode might keep me on the right track... what to do and when.
View Replies
View Related
Sending mails using CDONTS works great but I have (for now) just 1 minor problem.
I would like to place the username (of the person located in my database) inside my input-box (type="text") and send that as a page to the person using cdonts.
here's a part of my code (simplified):
HTML = HTML & "<html>"
HTML = HTML & "<head>"
HTML = HTML & "</head>"
HTML = HTML & "<body>"
HTML = HTML & Email: <input type=""text"" name=""email"" value=""<% = strEmail %>"">
HTML = HTML & "</form>"
HTML = HTML & "</body>"
MyCDO.Body = HTML
So the problem arises at line 5 here. He does not understand the asp-tags inside the text. Anyone who knows how to solve this?
View Replies
View Related
I am trying to use CDONT to send a HTML message, but on the receiving machine it just shows the code in the message. Code:
View Replies
View Related
How to I wrap this to process the information as HTML EMail?
I have enabled all the HTML options in the script but I still get a text email:....
View Replies
View Related
I can create an email with ASP's using CDONTS and this works well. I'd like to format the email as HTML. Can I do this with ASP's and CDONTS?
View Replies
View Related
Many of you interested about the way how to convert images (for example
yours Jpegs) into ASCII graphics HTML. Well, in WDK6 that coming soon we
have added new component WDK.Img2Html that will do the work for you on fly.
Code:
View Replies
View Related
Usually, when I send HTML emails, I just SRC the image to my web server, but now I would like to consider embedding images for those instances when potential customers may view the email when offline.
Can this be done with CDO or is another component required?
View Replies
View Related
I have a web form where a client can select which site members to send
an email to.
This form is populated from the contents of the member table, so the
form can have 0-x names listed on it depending on member expiration dates.
When the form is submitted, the code loops through the form contents and
sends an email to those members that meet the selected criteria.
All this worked perfectly when I was sending text emails, but since I
changed, it sends the message correctly, but the last person gets
everyone else as well. For example, if I have three members (mem1, mem2
and mem3) to send emails to, here is what happens
mem1 gets the correctly formatted message
mem2 gets mem1's correctly formatted message plus mem2's message - one
right after the other. Code:
View Replies
View Related
I have emails sending no problem on other sections of the site but the following piece wont send
Where email is stored with a email variable from stored procedure i tested it and the value is the.....
Dim RegMail
Set RegMail = CreateObject("CDO.Message")
RegMail.From = "somone@gmail.com"
RegMail.To = email
RegMail.Subject = "ISM Mock Theory Test"
RegMail.TextBody = BodyText
RegMail.Send
Set RegMail = Nothing
View Replies
View Related
Is it possible to generate private key and afterwards apply the CA digitaly signed certificate within CDO code so I can send signed e-mails?
View Replies
View Related
I want to write a code for sending mails using CDO object in ASP. can it is possible to send mail without mentioning name of smtp server.I am using 2k3 O.S. Also one more problem i am facing , i want to send a mail in HTML format, when receipient receive that mail some times it shows in proper HTML formated mail but some times it not showing(it just shows html tags in mails) . I am using .htmlbody property of cdo object.
View Replies
View Related
I have done a ASP Prog where when the user submits the form an email is sent to the resp person.The problem is all the mails are going and sitting in the mail folder and are not moving from there to the mail id's. Can anyone tell me what i would have missed? Code:
View Replies
View Related
I was just wondering what the requirements are on my computer system if I want to be able to receive e-mails (to my own mail server and not through the mail server of my ISP). I already have a functioning SMTP-server, but I guess that only works for outgoing mails, or is there maybe a way I can send mails to this SMTP-server?
Do I need a fixed IP-address? Do I need so kind of special software like Win 2003 server or maybe Exchange Server? Do I need my own domain name? Anything else I need to bear in mind if I want to have my own incoming mail server?
View Replies
View Related
I have a code to send an email in my asp application. But if i send a
mail through this asp code i am not to get the trademark((tm)) symbol in
my subject line.
View Replies
View Related
how to send mails through ASP. I know it can be done through CDO or CDNTOS objects. But it is not working. Is there any settings i have to chage for it? I am using Win2000 prof. Server IIS.
View Replies
View Related
I'd like to be able to write an ASP page that users can enter requests in. When a new request is entered, the page would e-mail a list of recipients and inform them of the new request. I've never done this and really have no idea where to start.
View Replies
View Related
I am looking for a way to read & download my e-mails from my pop3 account from another server by using ASP(vb)
If you know anything about this subject please feel free to let me know. I learn how send but not receive.
View Replies
View Related
i want to know that how can i send automatically daily newsletter to my users.
i have started a newsletter service recently and want that everyday newsletter from database shall be sent to the users.
i also want to send newsletter on particular date in future as per selection made by the users themselves.
View Replies
View Related
I have read many posts suggesting how to solve the infamous email problem. now I get this error: error '8004020f'
but not when I send mails to myself. It works just for my email adress. I really don't know what to do Code:
View Replies
View Related
to some mail accounts, I can't send mails to them?Whoes fault is this?
the part of code is as follows.
<%
set mail=server.CreateObject("cdonts.newmail")
mail.To=aaa@aaa.com
mail.From="system@aaa.com"
mail.Subject=today & " New Messages"
mail.Body="<html><body><a href='http://admin_main.asp'>go message
board</a></body></html>"
mail.MailFormat=0
mail.BodyFormat=0
mail.Send
set mail=nothing
%>
View Replies
View Related
I have a cable modem and an isp that blocks outgoing traffic on port 25.I have a form that should generate an automatic e-mail response to the page visitor when submitted.
Now I wonder if it is possible for me to have this function in my asp code if my ISP blocks port 25 or if the generated e-mail will just dissapear in cyberspace?
View Replies
View Related
how can I send two emails with different messages to different users? Do I need to have two .asp files? or I can do it just in one? If yes, how do I set the obCDOMail.Body to get the value of two different variables?
View Replies
View Related
I am running my information pages from access database, using ASP - This database includes an email field, i would like the subject in the email to have an automatic title.
View Replies
View Related
hav been using serverobject sendmail for close to 5 years but recently giving strange errors. SO for the time being decided to use this code ...
View Replies
View Related
I'm sending out the newsletters using ASP Cdonts. It is fine for few number of mails say about 20. When I started to mass mail say about 200 at a time all the mails got stuck in the queue folder (Now totally 1000 mails got stuck up). Then from my service provider I got the info that the mass mails will be stopped if they are more than 99.
View Replies
View Related