Hi there,
This is a weird one. My CDONTS mail script runs fine, with no errors. When using my hotmail account as the recipient I receive the mail fine. However, if I change this to an outlook email account, it never arrives. Is anyone aware of what the problem is?
thanks.
7 2552
Doesn't sound like it's on the sending side of things, it's probably a receiving issue on the outlook account's end.
Could be a variety of things.
1) Server-side junk mail filter settings of the account in outlook
2) client-side junk mail filter settings for the account in outlook itself
3) auto-delete/block settings in outlook
4) Server-Side 'blacklist' setting or firewall.
Sincerely,
Mark
Hi there,
This is a weird one. My CDONTS mail script runs fine, with no errors. When using my hotmail account as the recipient I receive the mail fine. However, if I change this to an outlook email account, it never arrives. Is anyone aware of what the problem is?
thanks.
I agree with markrawlingson. Check your “junk Mail Folder” and you might find it there or another place to look would be any antivirus program that you might have running in the back-ground that is attached to Outlook.
Thanks for your replies.
I've turned off all of Norton restrictions on incoming mail and have checked the junk mail folders - still nothing. Just incase, here's my coding... -
-
<%
-
Dim t1name,t1,t2name,t2,t3name,t3
-
t1name = "Name:"
-
t1 = Request.Form("t1")
-
t2name = "Email:"
-
t2 = Request.Form("t2")
-
t3name = "Telephone:"
-
t3 = Request.Form("t3")
-
Dim stname,st
-
stname = "Message:"
-
st = Request.Form("st")
-
Dim ObjMail
-
Set ObjMail = Server.CreateObject("CDONTS.NewMail")
-
ObjMail.To = "email"
-
ObjMail.From = "postmaster"
-
ObjMail.Subject = "Contact Form From Website"
-
objMail.MailFormat = 0
-
ObjMail.Body = t1name & vbcrlf&_
-
t1 & vbcrlf&_
-
t2name & vbcrlf&_
-
t2 & vbcrlf&_
-
t3name & vbcrlf&_
-
t3 & vbcrlf&_
-
stname & vbcrlf&_
-
st
-
ObjMail.Send
-
Set ObjMail = Nothing
-
Response.Redirect ""
-
%>
-
-
This might be your problem.
ObjMail.To = "email"
ObjMail.From = "postmaster"
You’re not using the variable email or postmaster. What you are using is the string "email" and "postmaster". If somewhere in your code you are declaring and setting a value for the variables email and postmaster then you can just remove the quotes around the two words to make them variables and not strings. If the still does not work post the code again with your changes.
Hope that helps~
CroCrew, sorry, I should have said, I've removed any personal email address references. So ignore those two points.
This is how it looks... -
<%
-
Dim t1name,t1,t2name,t2,t3name,t3
-
t1name = "Name:"
-
t1 = Request.Form("t1")
-
t2name = "Email:"
-
t2 = Request.Form("t2")
-
t3name = "Telephone:"
-
t3 = Request.Form("t3")
-
Dim stname,st
-
stname = "Message:"
-
st = Request.Form("st")
-
Dim ObjMail
-
Set ObjMail = Server.CreateObject("CDONTS.NewMail")
-
ObjMail.To = "me@hotmail.com"
-
ObjMail.From = "postmaster@hotmail.com"
-
ObjMail.Subject = "Contact Form From Website"
-
objMail.MailFormat = 0
-
ObjMail.Body = t1name & vbcrlf&_
-
t1 & vbcrlf&_
-
t2name & vbcrlf&_
-
t2 & vbcrlf&_
-
t3name & vbcrlf&_
-
t3 & vbcrlf&_
-
stname & vbcrlf&_
-
st
-
ObjMail.Send
-
Set ObjMail = Nothing
-
Response.Redirect "thanks.htm"
-
%>
-
Which domain is the email account set up in outlook registered with?
EG:
@sympatico.ca
@somedomain.com
@iamsocool.net
Also, can you access this account from a webmail interface?
Junk mail filters are not only limited to outlook itself, there's usually all sorts of junkmail/whitelist/blacklist features on the server side as well. Outlook is a clientside application, checking mail filters and settings inside of it is pointless if the mail is being stopped at the server. If it's still not there I would see if there is a whitelist feature and add the from address from your CDONTS code to it on the server side as well as the client side. In addition your provider might think it's junk and automatically threw out the email to reduce spam domain wide. There's blacklisting issues here too, if your IP or the domain you're sending from is email blacklisted by the provider, they'll bounce it with or without your consent.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Sean |
last post by:
Hi
I have a website hosted on a virtual server, and am trying to run a script
that sends an email with a BCC address.
The email gets sent just fine, except for the BCC recipient, who doesnt...
|
by: tshad |
last post by:
I have both cdosys.dll and cdonts.dll on my W2K3 server.
We have been told by our web authors that their asp code won't work on our
machine and that we don't have CDONTS installed on our machine....
|
by: Dean J Garrett |
last post by:
We use CDONTS from ASP quite a bit to send out e-mails. Everything works
well "most" of the time. Sometimes, we find that the same e-mail gets sent
out 2-3 times. Does CDONTS have any known...
|
by: BaWork |
last post by:
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...
|
by: scott |
last post by:
I have my win 2003 server setup correct with SMTP. I know because I've
tested it ok.
However, when I issue CODE 1 below, I get ERROR 1 below. I thought having
SMTP installed correctly allowed...
|
by: DigitalRick |
last post by:
I have been running CDONTS in my ASPpages to send emails to me sent from my
guestbook. It had been working fine untill I upgraded to Server 2003 (I am
also running Exchange 2003) all locally. I...
|
by: Dr. Harvey Waxman |
last post by:
I guess I should change from cdonts to cdosys. Since I am ignorant about asp I
hope you forgive this basic question. There are two asp files for handling
mail, the one that gets the info from a...
|
by: Hugo Lefebvre |
last post by:
Is there a maximum number of emails CDONTS can handle in an asp script? I
have different questions about this.
Question1:
example1:
set objSendMail = createobject("CDONTS.NewMail")
......
...
|
by: Jason1983 |
last post by:
Hello sir,
When iam trying to send emails to my user accounts which are gmail id's using my application it is giving me this error.
Here is the error...
Server object error 'ASP 0177 : 800401f3'...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |