Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem sending Email Internally when External Email is blocked...

Status
Not open for further replies.

justinpl

Programmer
Nov 20, 2003
19
0
0
US
I am using CDONTS and for some reason no one internally is getting emails, where I am still getting the same emails to my hotmail account when I send them there. We have the incoming email disabled on the network. It seems like CDONTS sends out through the SMTP and when it trys to come back in, it gets blocked. Let me know if anyone has any suggestions.

<%

Function SendEmail()
Set Email = Server.CreateObject(&quot;CDONTS.NewMail&quot;)
Email.Send MessageFrom, MessageTo, MessageSubject, MessageText, 1
Set Email = Nothing
End Function

MessageFrom = &quot;from@email.com&quot;
MessageTo = &quot;to@email.com&quot;
MessageSubject = &quot;Out of Warranty Request&quot;
MessageText = &quot;Test&quot;

SendEmail()
%>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top