devel:mail
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
devel:mail [2022-07-02 20:07] – fix setBody issue Klap-in | devel:mail [2023-09-19 08:44] – link to github instead of google code andi | ||
---|---|---|---|
Line 23: | Line 23: | ||
===== Using Replacements ===== | ===== Using Replacements ===== | ||
- | The '' | + | The [[xref>setBody()]] function accepts key-value pairs as 3rd and 4th parameter to handle placeholder replacements. Supplying HTML replacements is optional. The HTML replacements will be merged with the text replacements, |
Line 31: | Line 31: | ||
// the plain text placeholder input | // the plain text placeholder input | ||
- | $trep = array( | + | $trep = [ |
' | ' | ||
- | ' | + | ' |
- | ); | + | ]; |
// the HTML placeholder input that differ from the text ones | // the HTML placeholder input that differ from the text ones | ||
- | $hrep = array( | + | $hrep = [ |
- | ' | + | ' |
- | ); | + | ]; |
// standard mail sending as seen above | // standard mail sending as seen above | ||
Line 53: | Line 53: | ||
===== Checking for valid E-Mail ===== | ===== Checking for valid E-Mail ===== | ||
- | Use the simple utility function [[xref> | + | Use the simple utility function [[xref> |
devel/mail.txt · Last modified: 2024-02-29 14:06 by 190.153.116.145