Hi,

I have the following code:

<%
Dim myMail
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Information from website"
myMail.From="mymail@hotmail.com"
myMail.To="someone@hotmail.com"
myMail.TextBody="This is the information I want to email"
myMail.Send
set myMail=nothing
%>

When I use the above code I do not get an email sent to me.

Any ideas?

pG

Recommended Answers

All 2 Replies

Do you get a particular error message? Please post your error message.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.