• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Name

CFusion_VerifyMail

Synopsis

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>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint