Mail empfang über asp problem
|
Author |
Message |
jasin777
Junior Member
Posts: 13
Joined: Jul 2008
Reputation: 0
|
Mail empfang über asp problem
hi leute
habe eine mail script über contact.asp erstellt, bekomme aber keine emails wenn jemand versucht über meine hp zu schreiben.
alles andere funktioniert.. Outlook-webmail nur da nicht. könnte es eventuel am smtpPort liegen?
<%
for i=1 to 7
message=Request("message")
next
message=message + Request("message")
smtpServer = "smtp.meinedomain.de"
smtpPort = 25
name = Request("Your_Name:")
Set myMail = CreateObject("CDO.Message")
myMail.Subject = "from " & name
myMail.From = Request("Your_Email:")
myMail.To = Request("recipient")
myMail.HTMLBody = "<html><head><title>Contact letter</title></head><body><br>" & message & "</body></html>"
myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = smtpServer
myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = smtpPort
myMail.Configuration.Fields.Update
myMail.Send
%>
|
|
09-08-2008 10:48 AM |
|
Messages In This Thread |
Mail empfang über asp problem - jasin777 - 09-08-2008 10:48 AM
|
User(s) browsing this thread: 1 Guest(s)