[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] how to attach the signature for all outgoing mail



<tidied up previous posts to make it easier to read>

> >You want your mailserver to attach a signature to every outgoing email of
> >every user who sends mail through your system, like yahoo.com or
> >hotmail.com does in hte outgoing e-mails.
> >
> >you'll have to search sendmail's site for it or something :\
>
> Been there.
>
> Sendmail's site says that you could do this well *if* everybody were just
> sending text emails. But once you move to MIME, and messages have a more
> structured form, then basically if you just append a bunch of text to the
> message without fitting it into the structure you can screw things up.
>
> It's in the FAQ somewhere... perhaps someone with more Clue than I can
> figure such a thing out. But it strikes me that the only way to do it is
to
> make sure that all messages are sent via an interface you control, like
> Hotmail does. Then you always know what the structure to the mail is and
> can play with it.

<Shimi wrote>
(Shimi could you try NOT top-posting as it make's it very hard to follow the
threads you post to):

> I am not really sure, as HTML behaves differently everywhere but
> suppose u attach <html> at the beginning, and </html> at the end before
> the signature, or something like that?

No, you cannot do that. MIME-type emails are much more complex than that.
You'd have to write an application to strip down an email into its component
parts and rebuild it with your signature attached in the correct place with
the correct MIME-type syntax. This is NO trivial matter - I know this from
writing a MIME-compliant web-based email product.

If you searched the archives you would find a thread on this some time ago
that I participated in. I researched the possiblity and concluded that this
wasn't realistically possible.

<thom wrote>
> maybe the solution is to force the users to make use of one of the
> web-based email programs and modify that code to have the obligatory text?

That would seem to be the best solution. There are many commercial/free
web-based email products available that allow you to add your own text
and/or html tags onto the bottom of outgoing email.

Regards,
Jonathan Michaelson

Commercial Perl CGI Scripting