CaMykS  1.0-20231201
Functions
mail.php.inc File Reference

Mail specific methods. More...

Functions

 mail_encode ($email)
 
 mail_isValidEmail ($email='')
 
 mail_send ($params=array())
 
 mail_sendHTMLMail ($params=array())
 
 mail_sendPHPMail ($params)
 
 mail_sendPEARMail ($params)
 
 email_isValidEmail ($email='')
 

Detailed Description

Mail specific methods.

Engine / Tool Library

Author
CaMykS Team camyk.nosp@m.s.co.nosp@m.ntact.nosp@m.@gma.nosp@m.il.co.nosp@m.m
Version
1.0.2
Date
Creation: Jul 2005
Modification: Jul 2018
Note
This program is distributed as is - WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Function Documentation

◆ mail_encode()

mail_encode (   $email)

Encode email to be used with engine/data/js/tool/mail.js scripts.

Parameters
string$emailthe email to encode
Returns
string

◆ mail_isValidEmail()

mail_isValidEmail (   $email = '')

Check if email is valid.

Parameters
string$emailthe email to check
Returns
boolean

◆ mail_send()

mail_send (   $params = array())

Send a mail.

Parameters
array$paramsemail parameters - Available parameters are
array headers
string to
string recipients
string subject
string content
Returns
mixed

◆ mail_sendHTMLMail()

mail_sendHTMLMail (   $params = array())

Send a html mail.

Parameters
array$params- Available parameters are
array headers
string to
string recipients
string Cc
string subject
string content
Returns
mixed

◆ mail_sendPHPMail()

mail_sendPHPMail (   $params)
private

Send mail using built-in php mail engine.

Parameters
array$params
Returns
boolean

◆ mail_sendPEARMail()

mail_sendPEARMail (   $params)
private

Send mail using PEAR (http://pear.php.net) mail engine.

Parameters
array$params
Returns
boolean

◆ email_isValidEmail()

email_isValidEmail (   $email = '')

Alias to 'mail_isValidEmail' function

See also
mail_isValidEmail
Parameters
string$emailThe mail to check
Returns
boolean
Deprecated:
Use mail_isValidEmail instead.