Project ID:
5835
Project Type:
Fixed
Budget:
$20-$100 USD
Project Description:
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 'webserver.ch'"
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 = Server.CreateObject("Persits.MailSender")
Mail.isHTML = TRUE
Mail.Host = SMTPServer
Mail.Port = 25
Mail.From = EMail
Mail.AddAddress Recipient
Mail.Subject = 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 & ""
Mail.Body = body
'mail.username = "****"
'mail.password = "****"
Mail.Send
Set Mail = nothing
' ---> weiterleitung
Response.Redirect(OKPage)
%>
Skills required:
PHP