Thanks, Howie ... 




        Thanks, Howie.  That helps clear the fog a bit.

        Here's what I think I'll do ... 

        To keep all of my mail list code grouped together and discreet (it
exists outside the FusionMail folder), I'll save my query templates and such
in my application's folder, then CFINCLUDE them in the FusionMail RCPT
template.

        Make sense?

        H.



> -----Original Message-----
> 
> From: Howie Hamlin [SMTP:[EMAIL PROTECTED]
> Sent: Tuesday, August 26, 2003 4:58 PM
> To:   inFusion Support List
> Subject:      Re: [iMS] new accounts
> 
> This is all controlled by your code.  For example:
> 
> <cfif smtpto is "[EMAIL PROTECTED]">
>    [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]
>    result=accept
> </cfif>
> 
> if you put these four lines in your RCPT template then your server will
> accept mail to that address and send the mail to the three listed
> addresses.  Obviously, this is not a very useful list server but it is a
> list server (with only 4 lines of code).  
> 
> Typically, you would want to store the list addresses in a DB as well as
> the recipients.  So, you could do something like this pseudo code:
> 
> query lists table for smtpto variable
> if record found then
> {
>    query listmembers table for members in list
>    use cfx_imsmail tag to send mail to all recipients
> }
> 
> You could have a basic data-driven list in a few lines of code.  You would
> then probably want to add a way to subscribe/unsubscribe (web or
> smtp-based) and other code that would make the list more complete.
> 
> You could also consider making the list a POP account set to be a
> Processor account.  FusionMail supports the concept of an account that
> only processes incoming mail.  So, you can create a processor account
> called "mylist" and then have it fire off a template to do the list
> processing...that's how this email list works.
> 
> HTH,
> 
> Howie
> 
> ----- Original Message ----- 
> From: <"Owens>; <Howard <[EMAIL PROTECTED]>>
> To: "inFusion Support List" <[EMAIL PROTECTED]>
> Sent: Tuesday, August 26, 2003 7:29 PM
> Subject: RE: [iMS] new accounts
> 
> 
> > OK, so is there anything I need to do to have the SMTP server recognize,
> > say, [EMAIL PROTECTED] ... assuming the domain is already configured
> > in/with iMS?
> > 
> > Normally, are all account information just stored in a table, and the
> > various templates -- such as provided with FusionMail -- just checks
> whether
> > there is account by that name under that domain and then accepts or
> bounces
> > the e-mail?
> > 
> > So, when I create a list with an address of [EMAIL PROTECTED] ... I
> can do
> > one or more of the following ...
> > 
> > -- insert the list info in the list_info table
> > ++ have templates that then check incoming e-mail against
> > this table
> > -- insert the list address in the POPs table used by FusionMail
> > ++ have FusionMail, or copy the FusionMail templates, accept
> > or reject this incoming mail
> > -- If the mail is accepted, insert into the table for
> > storing/archiving the mail, then generate an e-mail with that message to
> all
> > the list subscribers.
> > 
> > 
> > H.
> > 
> > 
==^=======================================================
     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/Support/
Need an iMS Developer license?  Sign up for a free license here:
http://www.coolfusion.com/Developers/
List archives: http://www.mail-archive.com/infusion-email%40eoscape.com/
Note: You are subscribed as [EMAIL PROTECTED]
==^=======================================================


Reply via email to