Hi Howie,

Thanks for that, it looks quite a bit simpler than what I've done.

Also, I meant to send out an update last night but it was late... My
problem with the temporarily unavailable mailbox was because I didn't
have a 'result=accept' at the end of the template and I had taken out a
lot of 'redundant' lines in the data template. oops... And I'm under the
impression that template processing stops when a result=... line is
encountered? If this is so then what I have done is ok. If not I had
better put those lines back again! Howie?

Thanks again,

Brett
B)


Howie Hamlin wrote:
> 
> What you need to do is in the rcpt template accept all mail that begins with
> "reply" like:
> 
> <!--- check for reply string --->
> <cfif ucase(left(smtpname,6)) is "REPLY.">
>    <cfquery name="getdomain" datasource="iMS">
>       select domain from domainaliases
>          where domainaliases.domain='#todomain#'
>    </cfquery>
>    <cfif getdomain.recordcount gt 0>
>       result=accept
>    <cfelse>
>       result=unknownuser
>    </cfif>
>    <cfabort>
> </cfif>
> 
> Then, in the data template do your custom processing (NOTE: emailaddr is a
> var in the FusionMail DATA template)
> 
> <!--- check for reply string --->
> <cfif ucase(left(smtpname,6)) is "REPLY.">
>    <cfset MsgID=mid(emailaddr,find(".",emailaddr)+1,len(emailaddr))>
> <!--- custom processing goes here --->
> result=accept
>    <cfabort>
> </cfif>
> 
> HTH,
> 
> Howie
> 
> ----- Original Message -----
> From: "Brett Payne-Rhodes" <[EMAIL PROTECTED]>
> To: "inFusion Support List" <[EMAIL PROTECTED]>
> Sent: Wednesday, September 27, 2000 5:10 AM
> Subject: [iMS] Handling 'special' replies
> 
> > Hi,
> >
> > I'm looking for advice on how to set up and then handle 'special'
> > replies to email messages. Let me explain...
> >
> > I want to send a message to a number of recipients (an invitation to a
> > meeting). The recipients simply send a reply with 'accept' or 'decline'
> > in the first line. I then process the replies and tick off those who
> > have 'accept'ed. Note that each 'meeting' has it's own email account set
> > up.
> >
> > My plan was to set the 'reply-to' address in the message going out to be
> > '[EMAIL PROTECTED]' where msgid is the email address set up
> > for the meeting. Then in the RCPT and DATA templates I would look for
> > 'reply' in the email address and use that to trigger the correct
> > processing.
> >
> > All of this I have already done but the problem I have come up against
> > is a warning in the SMTP log saying that 'Mailbox temporarily out of
> > service for [EMAIL PROTECTED]'. Now perhaps this is a simple
> > problem to fix but I haven't been able to do so yet.
> >

> > So... Can someone suggest a fix to my 'out of service' problem? And/or
> > is there a better way to do this?
> >
> > Many Thanks,
> >
> > Brett
> > B)
> >
> 
> ========================================================================
>      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/iMS.htm
> 
> List archives: http://www.mail-archive.com/infusion-email%40eoscape.com/
> ========================================================================

========================================================================
     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/iMS.htm

List archives: http://www.mail-archive.com/infusion-email%40eoscape.com/
========================================================================

Reply via email to