August 2001
Intermediate to advanced
976 pages
38h 8m
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>Read now
Unlock full access