Re: [Mimedefang] adding promotional banner to top of email
On 24/06/2017 16:22, Dianne Skoll wrote: On Sat, 24 Jun 2017 10:18:59 -0400 Dianne Skoll wrote: You'd need to roll your own. It's non-trivial, given the infinite ways HTML can be malformed. I would also echo the comments of others on the list who have recommended against this. Adding promotional material to emails will quickly get them marked as spam, and if you add it to emails in transit that you did not originate, you could quite possibly be breaking the law. Regards, Dianne. Hi Does anyone have any links to info regarding why this is a bad idea etc, would like to pass this onto the client. ___ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
Re: [Mimedefang] adding promotional banner to top of email
On 26/06/2017 22:00, Fred de Brouwer wrote: On 26 Jun 2017, at 08:55, Mark Coetser wrote: On 24/06/2017 16:22, Dianne Skoll wrote: On Sat, 24 Jun 2017 10:18:59 -0400 Dianne Skoll wrote: You'd need to roll your own. It's non-trivial, given the infinite ways HTML can be malformed. I would also echo the comments of others on the list who have recommended against this. Adding promotional material to emails will quickly get them marked as spam, and if you add it to emails in transit that you did not originate, you could quite possibly be breaking the law. Thanks for all the input everyone, I have already advised the customer about all these issues but they dont care Most likely ‘they’ will start to care when things go terribly wrong, especially when reputation damage occurs. Agreed but as you must know some clients only learn after it happens even though being advised otherwise.. Thank you, Mark Adrian Coetser ___ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
Re: [Mimedefang] adding promotional banner to top of email
On 26 Jun 2017, at 08:55, Mark Coetser wrote: > > On 24/06/2017 16:22, Dianne Skoll wrote: >> On Sat, 24 Jun 2017 10:18:59 -0400 >> Dianne Skoll wrote: >> >>> You'd need to roll your own. It's non-trivial, given the infinite >>> ways HTML can be malformed. >> >> I would also echo the comments of others on the list who have recommended >> against this. Adding promotional material to emails will quickly >> get them marked as spam, and if you add it to emails in transit that you >> did not originate, you could quite possibly be breaking the law. > > Thanks for all the input everyone, I have already advised the customer about > all these issues but they dont care Most likely ‘they’ will start to care when things go terribly wrong, especially when reputation damage occurs. ___ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
Re: [Mimedefang] adding promotional banner to top of email
On 24/06/2017 16:22, Dianne Skoll wrote: On Sat, 24 Jun 2017 10:18:59 -0400 Dianne Skoll wrote: You'd need to roll your own. It's non-trivial, given the infinite ways HTML can be malformed. I would also echo the comments of others on the list who have recommended against this. Adding promotional material to emails will quickly get them marked as spam, and if you add it to emails in transit that you did not originate, you could quite possibly be breaking the law. Thanks for all the input everyone, I have already advised the customer about all these issues but they dont care Thank you, Mark Adrian Coetser ___ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
Re: [Mimedefang] adding promotional banner to top of email
On Sat, 24 Jun 2017 10:18:59 -0400 Dianne Skoll wrote: > You'd need to roll your own. It's non-trivial, given the infinite > ways HTML can be malformed. I would also echo the comments of others on the list who have recommended against this. Adding promotional material to emails will quickly get them marked as spam, and if you add it to emails in transit that you did not originate, you could quite possibly be breaking the law. Regards, Dianne. ___ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
Re: [Mimedefang] adding promotional banner to top of email
On Wed, 21 Jun 2017 08:58:32 +0200 Mark Coetser wrote: > I know html email is not ideal but unfortunately most customers use > it now days. I am currently using append_html_boilerplate to add > signatures etc and now a client has requested that we add promotional > banners to the top of all html emails. I have searched and just cant > find anything that relates to doing this with mimedefang, any > pointers please? You'd need to roll your own. It's non-trivial, given the infinite ways HTML can be malformed. Regards, Dianne. ___ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
Re: [Mimedefang] adding promotional banner to top of email
On 21-6-17 16:32, Kris Deugau wrote: > Mark Coetser wrote: >> I know html email is not ideal but unfortunately most customers use it >> now days. I am currently using append_html_boilerplate to add signatures >> etc and now a client has requested that we add promotional banners to >> the top of all html emails. I have searched and just cant find anything >> that relates to doing this with mimedefang, any pointers please? >> > > You'll probably have to deconstruct append_html_boilerplate's internals, and > build a custom prepend_html_boilerplate sub to suit. You could just use "sub filter_end" to insert a new HTML part that comprises your header (assuming the content also contained HTML). Easier than modifying the existing HTML to add a header. However... make doubly sure to *ONLY* do this on mails that originate locally, from your own domain, and never for any mails in transit, as you'll break DKIM signatures on the body. Don't just look at originating IP, look at the From: address too. And best of all, as the previous posting suggested... don't do this at all. It will likely just get your domain blocked, either explicitly or implicitly as spam-detection algorithms get too many of the same HTML headers, and they start treating it as spam. So, just... no. > Also, please let us know who this is, so the rest of us can block > their mail... -- Jan-Pieter Cornet Systeembeheer XS4ALL Internet bv www.xs4all.nl signature.asc Description: OpenPGP digital signature ___ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
Re: [Mimedefang] adding promotional banner to top of email
Mark Coetser wrote: I know html email is not ideal but unfortunately most customers use it now days. I am currently using append_html_boilerplate to add signatures etc and now a client has requested that we add promotional banners to the top of all html emails. I have searched and just cant find anything that relates to doing this with mimedefang, any pointers please? You'll probably have to deconstruct append_html_boilerplate's internals, and build a custom prepend_html_boilerplate sub to suit. Also, please let us know who this is, so the rest of us can block their mail... (Seriously, this is a bad idea. Marketing emails should be composed complete, not modified in transit, and any company that started stuffing non-marketing mail full of promotional crap - particularly at the *top* of the message, as your client is asking for - is likely one that would lose my business, and the same with many other people. Companies are also starting to get fined for pushing the limits like this; if someone has unsubscribed from the newsletter/marketing emails, they DO. NOT. WANT. PROMOTIONAL. CONTENT. - and the regulators are listening to consumers.) -kgd ___ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
[Mimedefang] adding promotional banner to top of email
Hi I know html email is not ideal but unfortunately most customers use it now days. I am currently using append_html_boilerplate to add signatures etc and now a client has requested that we add promotional banners to the top of all html emails. I have searched and just cant find anything that relates to doing this with mimedefang, any pointers please? -- Thank you, ___ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang