Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CFPOP

Status
Not open for further replies.

cfm

Programmer
Mar 27, 2001
76
CL
hello, somebody can help me? as I can obtain the mail when an alias exists?

<cfpop action=&quot;GETHEADERONLY&quot; username=&quot;xxx&quot; password=&quot;xxx&quot; server=&quot;mail.netexplora.com&quot; name=&quot;pop&quot;>

<cfoutput query=&quot;pop&quot;>
#pop.from# <br>
</cfoutput>

in the WEB:

msg1 FROM: jh@netex.com
msg2 FROM: user@net.org
msg3 FROM: Bill (email??? when exists alias)
msg4 FROM: Bill (email??? when exists alias)

thanks
 
If the email is the form &quot;alias&quot; <emailaddress>, you can try using a regular expression such as

<cfset emailaddress= REReplaceNoCase(pop.from,&quot;[^<]*<([^>]*)>&quot;,&quot;\1&quot;,&quot;ONE&quot;)>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top