| CF_AspMX |
|
Description:
Retrieves the list of mail exchangers for a given Internet domain, using the
AspMX™ component from ServerObjects
Inc.
Version: 1.0
Last updated: April 03, 1998
Availability: this tag is freeware and encrypted. Download it here.
Please send us
comments/questions/bugs reports.
Copyright: Astrolábio Sistemas
de Informação Ltda.
Author:
Input/Output attributes:
Comments:
Marcello Frutig
frutig@astrolabio.com.br
Input attributes
comments/examples
dns
required
IP address of your DNS server
domain
required
domain name to search for mail exchangers
timeout
optional
operation timeout in seconds
default: 20
Output attributes
values
aspmx_status
"yes" - success, "no" if invalid or missing input attributes
aspmx_error
message returned by AspMX™ containing the error description
aspmx_result
query containing the mail exchangers, ordered by MX
preference
Example:
<CF_AspMX
dns="#dns_ip#"
domain="#domain#"
timeout="20">
<CFIF aspmx_status IS "No">
invalid or missing attributes
<CFELSEIF aspmx_error IS NOT "">
<CFOUTPUT>#aspmx_error#</CFOUTPUT>
<CFELSEIF aspmx_result.RecordCount IS 0>
no mx available
<CFELSE>
mx for <CFOUTPUT>#domain#</CFOUTPUT>:<p>
<CFOUTPUT QUERY="aspmx_result">
#mx#<br>
</CFOUTPUT>
</CFIF>
External dependencies:
AspMX is a trademark of ServerObjects Inc.
Allaire and Cold
Fusion are trademarks of Allaire
Corporation
Microsoft and Windows NT are registered trademarks of Microsoft Corporation
Copyright © 1998 Astrolábio Sistemas de Informação Ltda.