August 2003
Intermediate to advanced
1140 pages
68h 45m
English
CFusion_VerifyMail
CFusion_VerifyMail(server, port, timeout)
Verifies
that a connection can be made to the SMTP mail server specified in
server. port
specifies the port that the SMTP server is using. The default SMTP
port is 25. timeout specifies an amount of
time in seconds ColdFusion should wait before timing out the
verification attempt. If a connection can’t be made,
a diagnostic error message is returned. This is an undocumented
function used by the ColdFusion Administrator. Example:
<cfset Verify = Cfusion_VerifyMail('127.0.0.1',25,60)>
<cfif Verify is not "">
<cfoutput>#Verify#</cfoutput>
<cfelse>
Connection verified!
</cfif>