Form Email Delivery delay

S

Sean

I'm using an asp script to collect form results and send
an email to the form owner and the form user by cdonts.

I have two problems

1. if the user enters an invalid email address neither
email is sent even though the email to form owner is to a
fixed valid email address... I assume this is caused by
the invalid user email that is inserted into the FROM:
line

2. At times there is a long delay between the form
contents being submitted and the email being received.
Eg: several users submit form contents at different times
of the day but all the emails arrive at the same time
several hours later showing the same received time.

How can I prevent an invalid email causing delivery
failure to the form owners valid email address and what
is the cause of these delivery delays?
 
P

p c

See inline.

....PC
Sean said:
I'm using an asp script to collect form results and send
an email to the form owner and the form user by cdonts.

I have two problems

1. if the user enters an invalid email address neither
email is sent even though the email to form owner is to a
fixed valid email address... I assume this is caused by
the invalid user email that is inserted into the FROM:
line

YES, by design. the From field must not be empty. You need to validate.
2. At times there is a long delay between the form
contents being submitted and the email being received.
Eg: several users submit form contents at different times
of the day but all the emails arrive at the same time
several hours later showing the same received time.

The delay could be cause by vruous reasons. The most common reasons: the
sending email server does not send messages immeditely, the recivng
server does not ditribute email to users immediately, the emal client
does not check for new messages frequently.
How can I prevent an invalid email causing delivery
failure to the form owners valid email address and what
is the cause of these delivery delays?

For validating email fields see this thread

news://news.comcast.giganews.com:119/[email protected]
 
P

p c

See inline
....PC
Sean said:
I'm using an asp script to collect form results and send
an email to the form owner and the form user by cdonts.

I have two problems

1. if the user enters an invalid email address neither
email is sent even though the email to form owner is to a
fixed valid email address... I assume this is caused by
the invalid user email that is inserted into the FROM:
line

YES. By design. Teh server will not send if FROM is empty
2. At times there is a long delay between the form
contents being submitted and the email being received.
Eg: several users submit form contents at different times
of the day but all the emails arrive at the same time
several hours later showing the same received time.

Various possiblities: dela in sending by the sending server or delay in
delivering to users by the receivng server.
How can I prevent an invalid email causing delivery
failure to the form owners valid email address and what
is the cause of these delivery delays?

Validate the email address. See earlier thread "Web email resposne"
 
M

Mike Mueller

Sean,

I am using CDONTs also for mail handling. I have never had
either issue you mention, and my emails arrive to me within
a minute or so I will give you my opinions though...

1. For the From field, I leave this as a fixed address-
(e-mail address removed). I put the inputted address into the
reply-to field.. You create this by using
objMail.Value("Reply-To") = strEmailAddress. This also
allows your mail client to be able to filter for emails sent
from the website.

2. Delivery delays. I would try some troubleshooting here.
See what happens if you send the emails to an address on a
different domain. If the problem goes away, the problem is
on the receiving end. If it continues then it is with the
SMTP service on your server

Mike

message : I'm using an asp script to collect form results and send
: an email to the form owner and the form user by cdonts.
:
: I have two problems
:
: 1. if the user enters an invalid email address neither
: email is sent even though the email to form owner is to a
: fixed valid email address... I assume this is caused by
: the invalid user email that is inserted into the FROM:
: line
:
: 2. At times there is a long delay between the form
: contents being submitted and the email being received.
: Eg: several users submit form contents at different times
: of the day but all the emails arrive at the same time
: several hours later showing the same received time.
:
: How can I prevent an invalid email causing delivery
: failure to the form owners valid email address and what
: is the cause of these delivery delays?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top