Are you sure Form.chkDel is being passed?  You didn't post that part of the
code...  Stick this right above your cfif and make sure the values are being
passed...  (or just look at your debug output at the bottom of the page)

<CFOUTPUT>#IsDefined("Form.chkDel")#</CFOUTPUT>

-Cameron

-----------------
Cameron Childress
Sumo Consulting Inc.
---
cell:  678-637-5072
aim:   cameroncf
email: [EMAIL PROTECTED]


> -----Original Message-----
> From: Paul [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 27, 2002 2:14 PM
> To: CF-Talk
> Subject: Deleting E-mail with CFPOP
>
>
> I am attempting to simply delete mail from a pop server using the
> following code, I receive no error messages, when processing yet
> the message are not being deleted any ideas?
>
> <!---Once message is already retrieved, delete if checked --->
>
> <FORM ACTION="inbox.cfm?GetMessages=yes" METHOD="POST">
> <CFOUTPUT>
>   <INPUT TYPE="hidden" NAME="mailServer"
>   VALUE="mail.gosonic.com">
>   <INPUT TYPE="hidden" NAME="userName" VALUE="#userName#">
>   <INPUT TYPE="hidden" NAME="password" VALUE="#password#">
> </CFOUTPUT>
> <INPUT TYPE="Submit" NAME="Delete" VALUE="Delete">
> </TD>
> </TR></TABLE>
>  <cfif IsDefined("Form.chkDel")>
>  <CFPOP SERVER="mail.gosonic.com" USERNAME="#userName#"
>    PASSWORD="#password#" ACTION="delete"
> MESSAGENUMBER="#Form.chkDel#" NAME="getDetail">
>    <CFOUTPUT QUERY="getDetail">
>    </CFOUTPUT>
>  </CFIF></FORM>
> <!--- End Delete Email --->
>
> Thanks
> -Paul
>
> 
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to