Forum Moderators: bakedjake
We have a Redhat linux 8 mail server.
Now i designed a page running on apache on that very same server.
I am using CDONTS to send a suggestion to an e-mail address.
If i host the page on my Local XP box the page sends the e-mail but when the page is hosted on my linux PC it doesn't give me any error messages but i do not receive the e-mail.
Here is the code that i used.
<%
'Get Values from sent page
StrFrom = Trim(request.Form("TxtFrom"))
StrBody = Trim(request.Form("TxtSuggestion"))
Dim strTo
Dim strSubject
Dim strBody 'Strings for recipient, subject, boby
Dim objCDOMail 'The CDO object
'First we'll read in the values entered from the form into the Local variables
strTo = "Myaddress@mydomain.com"
strSubject = "Suggestion from Intranet Page"
' Create an instance of the NewMail object.
Set objCDOMail = Server.CreateObject("CDONTS.NewMail")
' Set the properties of the object
objCDOMail.host = "127.0.0.1"
objCDOMail.From = StrFrom
objCDOMail.To = strTo
objCDOMail.Subject = strSubject
objCDOMail.Body = StrBody
' Send the message!
objCDOMail.Send
Set objCDOMail = Nothing
%>