Sending Emails With CDONTs In Russian
I'm sending Russian text in an email generated from the website which displays in the email as ??
The website is set to codepage 65001 and the charset to utf-8.
I'm sending Russian text in an email generated from the website which displays in the email as ??
The website is set to codepage 65001 and the charset to utf-8.
I am using CDONTS object to send emails to a person when he is registered with the web portal,but the problem is the mail is getting filtered as a spam or junk mail, and does not land in the Inbox,how to send this auto generated email into the inbox and not as a spam or bulk mail.
View Replies View RelatedI need some advice on how to write an email script in asp. I am farely new to asp but so far i have manage to understand most of the materials i've covered for this language except for sending emails from a form.
I've read the following tutorial ->URL twice, but i can't get the script working.
What am i doing wrong?
I am working on my personal box at home, do i need to have a mail server running? do i need to have addtional asp component install?
I have emails being created and sent using CDO and it is working well but, the email is being sent twice. I only call the .send once (per person) but it comes through twice.
Code:
I have an exchange server, that I sometimes use to perform mail shots to
clients on our database, these can be upwards of 1000 at a time.
As we don't want different clients to see who we are working with we put
these mailshots in the bcc field of the mails.
This can sometimes cause a problem as we are getting alot of mails bounced
back. I would like to write a script to have these emails sent
out individually using the to: field of the mail. I have googled for
examples of doing this but haven't found anything useful yet
Im searching around how to send emails but it doesnt seem to be working for me. They stay in the queue and research tells me that a firewall might be blocking them from being sent.
This is in the events log: "The remote server did not respond to a connection attempt."
Is there a way to send the email via the user's mail program?
I have about 5000 emails in my database. I wrote a basic script that sends
an email to all of those email addresses. Usually I have to break it up and
only send 300-400 at a time so my script does not timeout.
I know I can up my timeout to 45 minutes if I needed to, so that they could
all be sent at once, but I do not believe that is a wise decision.
Does any know of any other ways to do this more efficiently?
I have a Client Mailer page which basically sends emails off containing information specific to each client = email address found in the relevant database. I basically get this to simply loop through the client recordset (recordset.moveNext), and on each loop it sends an email to the relevant email address via CDOSYS.
Can I just check that this is ok, and this could :
a. Not have a maximum amount of clients this could send to, and basically be too much for the page to cope with if there were too many clients to loop through?
b. This could not cause some sort of Email block due to the server thinking it is spamming, etc.?
This was something someone mentioned, which I just wanted to check out!, as they suggested changing it to a Javascript refresh page, whereby it will send an email every 6 seconds for example by refreshing the page with Js, but I don't really want to change it to this unless I have to... as I was hoping the way in which I have it with the recordset loop, that it would be ok.
I have an application form and as the user finishes the application form, an email is sent to the user to notify him/her that he/she has successfully been registered...what i want to do is that another email is sent to me at the same time to notify me that a new user has registered...is there a way to do it by only defining one CDO or do i need to create two CDO(s)...i mean:
Set objMail = CreateObject("CDO.Message")
Set objMail2 = CreateObject("CDO.Message")
.
.
etc...
can someone please advice me if this is the right way?
i want to know how to send the form contents to an email id through asp without using "CDONTS" component coz my server does not support the component
View Replies View RelatedI need to be able to send emails from my webserver using ASP and I am using CDOSYS to do this. I have set up my Global.asa file as follows: Code:
View Replies View RelatedI have an ASP page that sends an email using JMail:
set msg = Server.CreateOBject( "JMail.Message" )
It works fine in my local server, but when I send my ASP page to Network Solutions it doesn't work. I guess it is because I can not run the JMail installation program at their server, therefor the object can not be created. Is there another tools I can use instead. Something that doesn't require installation, I guess.
We are having large database of 3000 emailids and we want to send the newsletter to all these ids at a time. The program works for 20 to 30 email ids but when we are trying to send for 3000, the page cannot be displayed error is coming. When it is run in local system server.scripttimeout error is coming and the mail is going to 2000 mailids.
View Replies View RelatedHere's what i'm trying to do, send out an email that contains both text and html with the mime encoding that will let the user's client display what they support. This email will be an external file.
This is how i'm reading the two files: Code:
I am trying to send an email from an asp page in html format unfortunately when parenthese appear in the HTML code of the page to be emailed the ASP page reads them and trys to interpret them as ASP code
<div align="center">
any suggestions?
I need a way to show the client that the emails are being sent and how many are left. The way I want to do this, is by opening a window which will send the emails and display the status. The problem is how do I pass it the subject, body and so on. I don't want to use a querystring. I thought of doing it like so:
onSubmit = progress() - this will call a js script which will open the progress window
action = (the page that gets all the values from the form and sends the email)
Is there a way to update the popup window from the "action" page? for example: everytime an email is sent... increase a variable and send it to the popup window, and then close it when its done.
I have an online classifeds website and would like to send automatic reminder emails to advertisers 3 days before their advertisement expires.
I am able to send emails via CDONTS from a form but are unsure how to extract the date details from the database 3 days from the renewal date and send an email to all relevant advertisers . I have an Access database attached to the web pages.
I wrote an ASP code to send email in ENglish and it works fine but when I try to use the same code to create an email message in another language, it doesn't work. (I tried to define the code page also but the email message just displays question marks in outlook express.
View Replies View RelatedI have a web form and I want to generate 2 different emails (not CC's) from it. One with all the information to go to the client, and one to go to the customer with half the information.
Can anyone tell me how to do this using CDONTS?
I know this question is stupid. But i need some advice for this. I
am trying to develop a website, which will allow the user send to order form
to the admin email. I am planning to use the CDONTS component method.
Can I just to localhost server to test, whether the form can be send
up to the admin's email. Or I must have the Hosting server to do that. Can
Anyone suggest me, how to I test my scripts can be successfully run (at
localhost), before I host it on the Web Servers.
For some reason, the email scripts on my web site can't send emails to
Hotmail accounts. No error is generated, but no email is sent either. I've
done some searching on this matter, and it appears as though I'm not the
only one having this problem, but I have yet to find a solution :(
Below is my CDOSYS script that was *supposed to* resolve the problem by
passing the SMTP server's along with the email, but it doesn't work :(
Have any of you had success with sending emails to Hotmail accounts via CDO?
I don't have control over the server's setup because it's a hosted account...
I want to use a simple CDONT mail script to allow the administrator of a site to send an email blast to their users. there are approx 1600 emails in the MS SQL db table. I would like to parse the entire email address column and get a variable that is all the email addresses separated by a comma so that the form picks it up as all the emails in the 'bcc' field as in the eg. below..I know there has to be an easier way but I want to get these guys up and running.
<%
objCDO.To = "Recipient@oursite.org"
objCDO.From = "mailer@oursite.org"
objCDO.bcc = "$variable_of_all_email_addresses"
Dim txtSubject
txtSubject = "Insert comments and case info here"
objCDO.Subject = ""***ATTENTION*** NEW CASE - MISSING CHILD"
objCDO.Body = txtSubject
objCDO.Send
%>
my CDONTS email isn't sending.. I think the code is set up correctly but I'm not positive. Is there a way to specify a mail server, if necessary? It seems to be going through without a hitch but the emails are never arriving, to any box I send them to. So perhaps our server needs some sort of authentication before permitting outgoing mails, I'm not really sure. Is there a way to check this?
I have our form set up on a standard html page, with a "action=process.asp" command..
here's the process.asp file..
<%
'Option Explicit
Dim objIndexMail
Set objIndexMail = Server.CreateObject("CDONTS.NewMail")
objIndexMail.From = Request.Form("email")
objIndexMail.To = "me@myemail.com"
objIndexMail.Cc = "me@myhotmail.com"
objIndexMail.Subject = "New Inquiry from" & Request.Form("parents")
Response.Write("Ready to create body")
objIndexMail.Body = "bunch of body text here"
Response.Write("body Created")
objIndexMail.Send
Response.Write("Sent")
Set objIndexMail = Nothing
Response.Write("Thank You")
%>
it gets to the thank you message every time, but nothing ever arrives in my mailboxes...
Can someone review and give me some hints. Also when I define my mail object using, "Dim objCDOMail As CDONTS.NewMail", I receive an http error. Code:
View Replies View RelatedI 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 RelatedI'm running Win2K... and have an ASP script that uses the CDONTS object properties to send email from a web-enabled ASP form. Problem is, the page is loading fine, with no errors. However, when I check the '/queue' folder in my Inetpub directory, I see all my mail queued there. It never gets sent. There are no emails in the '/badmail' folder, or in any other folder in '/mailroot'. What gives?
I'm kinda vague on how SMTP works exactly, in Win2K. What I'm trying to do is to send email over a LAN to a client. I want to avoid installing MS Exchange Server if possible. Am just trying to have a client on the LAN send email, and then have the client's Outlook retrieve said mail. All this done offline, without ever connecting to the Net.
I am trying to send e-mails to customers in a database. Each e-mail is customised for each customer, so I cannot simply copy all customers on the same e-mail. My logic loops through the appropriate recordset and attempts to send a notification e-mail to each customer. The problem is that about 10 - 20% of the e-mails do not get sent! (I know this because I :bcc myself on all the e-mails.) I also know that there is no problem with the e-mail addresses because when I try again to run the program with the same addresses but a smaller list of customers, those mails go out just fine.
The program generates a report which shows that it tried to send all the appropriate e-mails, but in reality several of the mails were not sent. What's interesting is that all of the e-mails near the beginning of the program execution get sent. But as the program goes on, more and more get skipped. It seems that CDONTS cannot keep up with the program execution.
Does anyone know of a way to solve this? What would be great would be a DO... WHILE loop that kept trying until the e-mail was sent successfully. But, for that approach to work, there would have to be some way for the program to check if the e-mail had gone out successfully. Another option would be a loop that waited until the *previous* e-mail had been sent successfully before attempting to send the next one.
Does anyone know of a way to test either of those conditions or of an alternate approach to avoid this problem I am having?
Hey all, I'm having trouble getting email to be sent using CDONTS. I've done this many times before with no problem, but this one just seems to want to be a pain..
The site is just on an IP address right now, but it still has access to a mail server and all. Everything seems to go correctly, but the mail server has no logs of cdonts trying to send anything. the script isn't generating any errors though.
<%@ language="VBscript" %>
<%
'Option Explicit
Dim objIndexMail
Dim body
Set objIndexMail = Server.CreateObject("CDONTS.NewMail")
objIndexMail.From = Request.Form("email")
objIndexMail.To = "my email address"
objIndexMail.Subject = "New Inquiry from" & Request.Form("parents")
Response.Write("Ready to create body <br><br>")
body = "bunch of body text here"
objIndexMail.Body = body
Response.Write("body Created <br><br>")
Response.Write(body & "<br><br>")
objIndexMail.Send
Response.Write("<br><br>Thank You")
%>
Anyone see any problems? there are no messages waiting to be sent in the outbox, and nothing is getting delivered to the badmessages folder either..
I have Road Runner cable internet access and Im working in a local development environment (writing .ASP) and have a site running on my network on a windows xp pro machine via IIS with CDONTS installed.
When I try to send a confirmation email (simple text) via CDONTS the message is built but remains on the server in the QUEUE folder ... how can I tweak the SMTP settings on the server to allow me to send email out from the server...
just the occassional test as I develop sites - not looking to spam and have a fairly full featured router to block external access to SMTP machine so its not abused.
I use the following code to send email from an ASP page:
<%
Dim objSendMail
Set objSendMail = Server.CreateObject("CDONTS.NewMail")
objSendMail.From = "abc@abc.com"
objSendMail.To = "abc@abc.com"
objSendMail.Subject = "Form Results - Get a Quote"
objSendMail.Body = "This is the Body text of this test mail."
objSendMail.Send
Set objSendMail = Nothing
%>
Of course, the the email addresses above are real on my ASP page.
After the above code is executed, I don't receive any email.
What is the problem?
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:
I would like to create a site which shows text in English or in Russian
(depending on the user's choice).
Problem is that I can't save the pages in Unicode (Unicode can contain
Russian characters), because IIS can't handle Unicode ASP pages (correct,
right?!).
So how can I have normal (ASCII) ASP pages, which can show either text in
English or Russian (charset Windows-1251)???
I do not understand the purpose of the VBS Codepage setting -
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> nor the meta tag - <meta
http-equiv="Content-Type" content="text/html; charset=iso-8859-1">.I assume the SQL Server Collation setting has a purpose in this also.What should the Codepage, charset and Collation be set at to build a site with Russian text?
I can type Russian characters into a webpage with the above settings, aswell as English ones and other languages. Having read umpteen articles on the web about codepages, character sets and encoding, I think I am more confused now than I was when I started. Could you recommend a tutorial on this whole subject?