Skip to content

This Script is a REST-API. You can call the Script by REST and send mails. Perfect for the "contact" page of every homepage.

Notifications You must be signed in to change notification settings

andrisro/REST-PHP-Mailer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

PHP Mailer Script by Andris Roling

(C)opyright 2017 by Andris Roling

Version: 1.2

-- German --

Beispielaufruf: 
mail.php?from=firstname%40lastname.de&subject=test&message=message

oder PER POST-Methode.

Parameter für Mail im Link

from -> E-Mail Adresse, die als Absender angezeigt wird
subject -> Betreff der Mail 
message -> Inhalt der Mail


Alle Parameter müssen URL-Encoded sein!

-- English --

Example Call: 
mail.php?from=firstname%40lastname.de&subject=test&message=message

or with a POST-Call.

params for the mail: 

from -> e-mail adress, which will be shown as the sender
subject -> subject of the mail 
message -> text / message of the mail

all params has to be url encoded!

About

This Script is a REST-API. You can call the Script by REST and send mails. Perfect for the "contact" page of every homepage.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages