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/
========================================================================