Sending Two Emails At A Time With CDO

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?

View Replies


ADVERTISEMENT

Sending Emails With Asp

I 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?

View Replies View Related

ASP CDO Sending Emails Twice

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:

View Replies View Related

Sending Many Emails

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

View Replies View Related

Sending Emails

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?

View Replies View Related

Sending Multiple Emails

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?

View Replies View Related

Sending Bulk Emails

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.

View Replies View Related

Need Help For Sending Emails By CDONTS

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 Related

Sending Emails Trough Asp

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 Related

Sending Emails With CDOSYS

I 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 Related

Sending Emails From An ASP Page

I 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.

View Replies View Related

Sending Bulk Emails

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 Related

Sending Emails In Html Format

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?

View Replies View Related

Sending Emails And Showing Progress

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.

View Replies View Related

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.

View Replies View Related

Sending Reminder Emails Automatically

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.

View Replies View Related

Sending Multilingual Emails From ASP Page

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 Related

Emails Not Being Sent All The Time

I am getting a bit worried because not all of my emails are being sent/received. My customers fill out the form on the website and their details are emailed to me. I have filled out the form several times, and some of my details are not being sent. Code:

View Replies View Related

Schedule Emails To Be Sent Out At Particular Time

Is it possible with ASP to schedule tasks such as the following:

A database contains hundreds of registered users. Within three days of their registration expiry an email should be automatically generated to inform all relevant users that their account will expire shortly.

A sheduled task should also run every night (say, at midnight) to remove expired accounts from the system.

View Replies View Related

How Do I Send Automatic Emails After A Set Interval Of Time From My Website?

I want to send automatic emails from my website after a definite interval of time.
I need a way to execute my ASP script repeatedly without any external triggering....

View Replies View Related

Inserting Data To SQL Database And Sending Email At The Same Time?

I’m attempting to insert some basic information (name, address, details) to the sql database and send a notification email (at the same time).

Right now, I can insert the information to the DB after I click submit, but how can I also receive an email? Please give some ideas how to do it.

View Replies View Related

Time Calculation :: Difference Between Login And Current Time

I would like to display the difference between the logging time
[Session("start"] and the current time [now]. In hours minutes and seconds,
I have tried a couple of things but all I see is gobbledy gook.

View Replies View Related

ASP To Re-load Page From Time To Time To Reset Varaibles

I have a website that I subscribe to that allows me to track tasks. I have an extra computer with a big monitor that i want to always display the task list. the problem is after so many hours I get logged out.

I need to need to reload that sign in url every few hours Code:

View Replies View Related

Comapring Database Time And Computer Date/time

there i was just windering how do i compare a date/time vlaue in sql server agaisnt the computers' date/time.
for example, if computer date/time is two months or 2 weeks before the database date/time do something

View Replies View Related

Time/Date Format And Changing Time To GMT

Currently working on a ASP for a friend, which requires the date and
time on it. It pulls in entries from an Access Database with dates and
times in the format of:

"Fri Oct 17 18:02:46 2003"
However my date and time on the ASP page is displayed as:
"Friday, October 17, 2003 18:02:46"
using the script:
"<%Session.LCID = 1033%>
<%=FormatDateTime(Date(), vbLongDate)%>
<%Session.LCID = 2057%>
<%=time()%>"

Anyone know how to change this script, fully or partly to produce the
date and time on the format that's in the access database i.e. "Fri Oct 17
18:02:46 2003" Code:

View Replies View Related

Time Convert String To OdbcType.Time

I am working on a database that collects information about incidents. One of the fields that people enter is the time of the incident. I am trying to convert that string that people enter into a OdbcType.Time and I am at a lost.

View Replies View Related

Local Machine Time To Eastern Time

How will we convert the system date & time to other timezone for eg: Eastern Time zone using ASP?

View Replies View Related

Time Function Returns Wrong Time

When the Form is submitted I use the Date() and Time() functions to put the date and time into the Body part of the e-mail. The time reported is three hours earlier than the time at which the Form is actually submitted.

I understand these functions are evaluated on the server so the server must be in a time zone three hours earlier than where I am . Is there any way I can get the local time at the location where the user is actually located. ?

View Replies View Related

How To Get Asp Execution Time And Database Connection Time ?

Any some tools or sample codes drop down asp script execute time and
database connection time ?

View Replies View Related

Server Time Local Time Convert

I'm trying to do a very simple code that converts the server time into a time zone of your choice.

<%
dim h 'Current Hour
dim i ' Time Zone Increase - add or subtract hours
dim r 'Result Here
h = Hour(Now)
i = + 2
r = h + i
%>

but obvisouly i'm having trouble with the time zone convert.

View Replies View Related

Emails From ASP

Anyone want to give me any pointers as to how to send emails from asp?

View Replies View Related

ASP And Emails

What is the best option?Im writing a forum so i need a universal solution...
This means i cant use something like ASPEmail as not all ASP servers have this.
So what do i use? Someone suggested to me CDONTS but then said you have to set up the server or something.Do all web servers have this pre configured.

View Replies View Related

Emails From ASP

Is there any way we can send off an email from a web hosting server that does not support CDONTS and cannot register any components to their server. They have no SMTP server as well.

IS there any web site that supports any one of these for FREE or better yet is there any other way to send off an email without CDONTS and components? Is it possible to like redirect to another mail with just scripting?

Appreciate any response to this matter.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved