Re: How to : Send a confirmation email

Chad Walstrom <[email protected]>
Newsgroups gmane.comp.bug-tracking.gnats.general
Message-ID <[email protected]>
On Fri, Mar 19, 2004 at 04:55:42PM +0100, Alexandre De Barros wrote:
> We are using the gnats v 3.113.
>I would like to know how to automatically send the "confirmation email"
>(and only this confirmation email

We actually altered who receives the initial-response-to-submitter.
Originally, the initial response goes to gnats-admin from the sender.
We flipped that around.

#   
# This message is used when mailing an initial response back to the 
# PR submitter.
#
    
mail-format "initial-response-to-submitter" {
    from-address {
        fixed-address "gnats-admin"
    }
    
    # For addresses that are joined with |, we try each one in turn,
    # from
    # left to right,  until we find one that's non-empty.
    # Multiple addresses may be listed here.
    to-addresses {
        "Reply-To:" | "From:" | "From" | "Submitter-Id"
    }
    
    header {
        format "Subject: Re: %s/%s: %s\n"
    
        fields { "Category" "Number" "Subject:" }
    }
    
    body {
format "Thank you very much for your problem report (PR).  It has the\n\
following internal identification: `%s/%s'.\n\
\n\ 
You may use this identification in the `Subject:' field of subsequent emails\n\
to [email protected] to add information regarding the PR.  The category of \n\
your PR currently `pending' because it was received via email.  This will \n\
change when your PR is assigned to a consultant.\n\ \n\
%F%F%F%F\n\
"
        fields { "Category" "Number"
                 "Category" "Responsible" "Synopsis" "Arrival-Date" }
    }
}


-- 
Chad Walstrom <[email protected]>           http://www.wookimus.net/
           assert(expired(knowledge)); /* core dump */
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.