phpClick
[ class tree: phpClick ] [ index: phpClick ] [ all elements ]

Procedural File: emailFunctions.inc.php

Source Location: /includes/emailFunctions.inc.php



Page Details:



Tags:

filesource:  Source Code for this file








isValidEmailFormat [line 8]

boolean isValidEmailFormat( string $sEmail)

Checks if the format of an email is valid (not necessarily a truly existing address)



Tags:

return:  TRUE if the email has a valid format, FALSE otherwise


Parameters

string   $sEmail   The email address to be checked
[ Top ]



sendEmail [line 27]

void sendEmail( string $sToName, string $sToAddress, string $sFromName, string $sFromAddress, string $sSubject, string $sBody)

Sends an email



Parameters

string   $sToName   The name of the recipient, e.g. John Smith
string   $sToAddress   The e-mail address of the recipient, e.g. jsmith@mail.com
string   $sFromName   The name of the sender, e.g. Judy Miller
string   $sFromAddress   The e-mail address of the sender, e.g. jmiller@mail.com
string   $sSubject   The subject line, e.g. Tennis today?
string   $sBody   The email message text, e.g. Hi John, do you feel like tennis today?...
[ Top ]



Documentation generated on Wed, 12 Jan 2005 17:52:03 -0500 by phpDocumentor 1.3.0RC3