I need to autoreply if something is wrong with an attachment I am being
sent. The REPLYTO variable of the CFPOP query returns me nothing, so I
decided to "RE" my way thru the FROM variable to get the senders email
address. Is there a simpler way of doing this?
<cfpop action="GETALL"
name="messages"
attachmentpath="D:\InetPub\wwwroot\attachments\email\"
server="mail.whatadrillcfpopis.com"
username="sean"
password="renet">
<cfloop query="messages">
<cfoutput>
<!--- this first part is for anyone using an alias for for thier email
address (eg., "Sean Renet" <[EMAIL PROTECTED]>)--->
<cfif evaluate("find('<', from)") GT 0>
<a href="mailto:#mid(from, (evaluate("find('<', from)")+1),
evaluate("(len(from)-1)-(#evaluate("find('<', from)")#)"))# ">#From#</a>
<br>
<!--- this is for anyone that is simply using thier email address--->
<cfelse>
<a href="mailto:#From#">#From#</a>
<br>
</cfif>
</cfoutput>
</cfloop>
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.