You can access the message body and attachments with cfx_odsmime if you want.
Regards,
Howie
----- Original Message -----
From: "JustinMacCarthy" <[EMAIL PROTECTED]>
To: "inFusion Support List" <[EMAIL PROTECTED]>
Sent: Thursday, August 09, 2001 6:53 AM
Subject: Re: [iMS] How to block an email address!
> you could speed by saving trip to the DB like this :
> in application.cfm
>
> <cfif not isdefined("application.RejectList")
>
> <cfquery name=q>
> SELECT EmailAdresses
> From BlockedAdressed
> </cfquery>
> <cflock scope="APPLICATION" type="EXCLUSIVE" timeout="10">
> <cfset Application.RejectList = ValueList(q.EmailAdresses)>
> </cflock>
>
> </cfif>
> in RCTP
>
> <cflock scope="APPLICATION" type="READONLY" timeout="10">
> <cfif ListFindNoCase(Application.RejectList,form.smtpfrom)>
> <inlog text="blocked #form.smtpfrom# >
> result=reject
> </cfif>
> </cflock>
>
>
> As for the Sircam virus , this is one of reasons it be nice to be able
> access attachment in the Data / RCTP templates as well as message body etc..
> ..
>
> Justin
>
>
> ----- Original Message -----
> From: "Howie Hamlin" <[EMAIL PROTECTED]>
> To: "inFusion Support List" <[EMAIL PROTECTED]>
> Sent: Wednesday, August 08, 2001 10:28 PM
> Subject: Re: [iMS] How to block an email address!
>
>
> > It's easy but it depends on whether you are skipping the MAIL template or
> not. We skip that template so in our RCPT template we do
> > something like:
> >
> > <cfif form.smtpfrom is "[EMAIL PROTECTED]">
> > <inlog text="blocked [EMAIL PROTECTED]">
> > result=reject
> > <cfabort>
> > </cfif>
> >
> > You can do pretty much the same thing in the mail template.
> >
> > Regards,
> >
> > Howie
> >
> > ----- Original Message -----
> > From: "Benny Cornett" <[EMAIL PROTECTED]>
> > To: "inFusion Support List" <[EMAIL PROTECTED]>
> > Sent: Wednesday, August 08, 2001 5:03 PM
> > Subject: [iMS] How to block an email address!
> >
> >
> > > Howie,
> > > is there a way to block senders through iMS? I have been hit around
> 3,000
> > > times in the last hour by the sircam32 worm from the same email address.
> I
> > > have already taken steps to automatically delete attachments on arrival
> so I
> > > am not worried about the worm. I am having trouble with the amount of
> emails
> > > from this one address.
> > >
> > > Your help would be appreciated.
> > >
> > > Benny Cornett
> > > Cold Fusion Developer
> > > oneTravel.com
> > > [EMAIL PROTECTED]
> >
> >
>
==^======================================================================
This list server is Powered by iMS
"The Swiss Army Knife of Mail Servers"
--------------------------------------
To leave this list please complete the form at
http://www.coolfusion.com/iMSSupport.cfm
Need an iMS Developer license? Sign up for a free license here:
http://www.coolfusion.com/iMSDevelopers.cfm
List archives: http://www.mail-archive.com/infusion-email%40eoscape.com/
Note: You are subscribed as [email protected]
==^======================================================================