CFPOP and attachment
I am trying to read mail and get the attchment.
then I use this code :
<cfset at_path=#getdirectoryfrompath(GetTemplatePath())# & "attach\">
<cfoutput>
<cfpop action="GETALL" name="GetMsg" messagenumber="#form.mail_id#" attachmentpath="#at_path#" generateuniquefilenames="Yes" server="#form.server#" username="#form.UserName#" password="#form.pwd#">
</cfoutput>
I sent a mail with attachment to that email adress,
I can read the mail sent, but the attachment file is not written on the server adress #at_path#
Anybody can help ? Thanks, I do not see any mistake.
(used on CFMX V7)
Pierre.
