User Tools

Site Tools


uphp:functions:mail

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
uphp:functions:mail [2017/05/08 14:31]
jeff
uphp:functions:mail [2021/09/13 05:57] (current)
Line 1: Line 1:
 ======mail====== ======mail======
  
-<badge>WMPRO, WMMINI FW >= 1.0</badge> <badge>WMMEGA FW >= 2.0</badge>+<badge>WMPRO, WMMINI FW >= 1.0 and =< 1.1090</badge> <badge>WMMEGA FW >= 2.1160</badge>
  
-Send an email+Send an email [deprecated in WattmonPRO & Mini].  Re-actived in Mega/MINI3 with SSL.
  
 ====Description==== ====Description====
  
-<well size="sm"> +<well size="sm"><html>
-<html>+
 <span style="font-size:125%;color:green">int <span style="font-size:125%;color:green">int
 <span style="color:black">mail ( <span style="color:black">mail (
Line 18: Line 17:
 <span style="color:blue">$body <span style="color:blue">$body
 <span style="color:black">) <span style="color:black">)
-</html> +</html></well>
-</well>+
  
 This function will send an email using the SMTP Server settings that are configured in //Control Panel > Email Settings// (''/config/mail.ini''). This function will send an email using the SMTP Server settings that are configured in //Control Panel > Email Settings// (''/config/mail.ini'').
Line 31: Line 29:
 <html><b><span style="color:blue">$body<span style="color:black"></b></html>:  Email body text <html><b><span style="color:blue">$body<span style="color:black"></b></html>:  Email body text
  
-====Return Value====+====Return Values====
  
 <html><b><span style="color:green">Integer<span style="color:black"></b></html>:  0=success, or SMTP error code <html><b><span style="color:green">Integer<span style="color:black"></b></html>:  0=success, or SMTP error code
 +
 +====See Also====
 +
 +[[uphp:library_functions:smtp_mail]] - Send email using raw SSL socket in a script library
  
uphp/functions/mail.1494253873.txt.gz · Last modified: 2021/09/13 05:56 (external edit)