By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,659 Members | 1,611 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,659 IT Pros & Developers. It's quick & easy.

Email Functionality

P: 34
Hai All,
I am using classic asp for my application. I am using the below coadings to send Email. but it's not Working. That Means The Email cannot Send to the Receiver.

<%
Dim usxCDO
Set usxCDO = Server.CreateObject("CDONTS.NewMail")
usxCDO.From = "domain@fromdomain.com"
usxCDO.Subject = "Thank You!"
usxCDO.To = "test@to.com"
usxCDO.Body = "Thank you for contacting the Law Offices of Ronald A. Ziff. We have received your information, and will contact you shortly."
usxCDO.Send
Set usxCDO = Nothing
%>

Please give me any solution for this.

Thanks in advance.
Jan 27 '12 #1
Share this Question
Share on Google+
2 Replies


P: 16
Maybe your Mailprovider expects a SMTP authentification.
Jan 27 '12 #2

Rabbit
Expert Mod 10K+
P: 12,370
Unless you're running your own e-mail server, you need to set up the server information.
Jan 27 '12 #3

Post your reply

Sign in to post your reply or Sign up for a free account.