Biferno 1.7 Tabasoft.it

Application: ItaliaScuola Back-Office3
Reference
Admin | Edit | Reference | Cache | Logs
Click on a class name to see the description of that particular class:

Predefined Classes

ansi
array
biferno
boolean
cacheItem
char
classInfo
client
collection
curApp
curFile
curScript
db
double
error
file
folder
header
httpPage
imageUtils
int
long
memberInfo
multipart
object
ref
regexp
request
search
serverInfo
smtp
stackItem
string
time
unix
unsigned
 

Application Classes

Banner
BrowserBar
Ctrl_Form
FCKeditor
Form
GridChartGraph
Histogram
LocalDate
Result
condb
cookie
folderExt
headerExt
httpExt
mysqlFulltext
objHtml
requestExt
tableExport
utils
 

Functions

Functions

string

Method:

IsEMail

boolean IsEMail(boolean exists, string *msg)

Checks if the string can be a correct email

Description:

The IsEMail method of the string class returns true if the string has the format of a valid email address. Additional parameters can specify more checks

Parameters:
exists

if this parameter is true the smtp server of the user is contacted for existence of username on that server. The MX record of the domain are requested to DNS to contact the right smtp server

msg

if the parameter "exists" is true, this out parameter can contain an error happened during mx record contacting

Returns:

true if the email is correct (or exists if the parameter "exists" is true), false otherwise

Notes:

If the parameter "exists" is true the operation is slower involving also a network connection to the smtp server of the user

Implementation:
C
 

Return to the string class