it's very easy for a php profi ;-)
who can translate this mail-script von asp to php?
shortdescription:
take the data from a form (not in the same site) and send this data in html-format to a email-adress and redirect the webuser to a other website. thats all ;-)
empfaenger und serverangaben
Recipient = "email-adress"
Betreff = "Kontaktanfrage von '[login to view URL]'"
OKPage = "http://www.webserber.ch/danke.asp"
SMTPServer = "mail.webserver.ch"
' ---> formualfelder
Nachname = request("Name")
Vorname = request("Vorname")
Adresse = request("Adresse")
PLZ = request("PLZ")
Ort = request("Ort")
Telefon = request("Telefon")
EMail = request("eMail")
' ---> email senden
Set Mail = [login to view URL]("Persits.MailSender")
[login to view URL] = TRUE
[login to view URL] = SMTPServer
[login to view URL] = 25
[login to view URL] = EMail
[login to view URL] Recipient
[login to view URL] = Betreff
body = "Vorname: " & Vorname
body = body & ""
body = body & "Name: " & Nachname
body = body & ""
body = body & "Adresse: " & Adresse
body = body & ""
body = body & "PLZ: " & PLZ
body = body & ""
body = body & "Ort: " & Ort
body = body & ""
body = body & "Telefon: " & Telefon
body = body & ""
body = body & "EMail: " & EMail
body = body & ""
[login to view URL] = body
'[login to view URL] = "****"
'[login to view URL] = "****"
[login to view URL]
Set Mail = nothing
' ---> weiterleitung
[login to view URL](OKPage)
%>