Re: [ilugd] Adding an image to Disclaimer on Outgoing e-mails

2007-09-25 Thread Saurabh Nanda
  The final email shows up
 correctly in KMail and Thunderbird with the image  being displayed
 after the disclaimer text, but not so in M$ Outlook. Well it comes as
 an attachment on M$ Outlook.

You might want to read the following blog post.
http://www.37signals.com/svn/posts/604-navigating-the-html-email-jungle

An excerpt:
As I type this post I still can't believe it. I'm literally stunned.
If you haven't already heard, I'm talking about the recent news that
Outlook 2007, released next month, will stop using Internet Explorer
to render HTML emails and instead use the crippled Microsoft Word
rendering engine.

An easy solution is to simply send an email from Thunderbird with an
inline image and see if it opens properly in Outlook. If it does, just
view the source and make sure your python script is generating
*exactly* the same source. I've noticed that random stuff like not
putting angular brackets cid:abc around the inline part name also
causes some mail clients to barf.

HTH,
Nandz.
-- 
http://nandz.blogspot.com
http://foodieforlife.blogspot.com

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - September 28-29, 2007
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Adding an image to Disclaimer on Outgoing e-mails

2007-09-24 Thread Jasbir Khehra
On 9/24/07, Ankur Rohatgi [EMAIL PROTECTED] wrote:
 Hi,
 Do you need to attach the image with the email ? Wont an http link to
 the image in the SRC work just as well ?

Yes that works, but only when loading of remote images is enabled in the MUA.
And is the right way to go about it .
Still I had to go on the other path of embedding the image in the
original message and adding those extra headers and mime attachments .

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - September 28-29, 2007
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Adding an image to Disclaimer on Outgoing e-mails

2007-09-23 Thread Ankur Rohatgi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07-09-07 6:12 PM, Jasbir Khehra wrote:

 Now the higher ones want the company logo as part of disclaimer on all
 outgoing email. The setup for disclaimer is  postfix --- altermime
   postfix , which is very well documented and works like a charm.
 So to add the image,  passing the output from altermime to a python
 script which first checks for Content-Type Multipart and then inserts
 the image and the HTML tags to src the image as a Multipart/Releted
 attachment to the original message.  The final email shows up

Hi,
Do you need to attach the image with the email ? Wont an http link to
the image in the SRC work just as well ?

cheers.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG91HJbR7mO5apBYARAj4IAJ4lDspBQGIs7pVi3IhcgK3rZ28ikQCfbM6f
3omOuRIIvkGgHhT4JU10o8o=
=ZuB0
-END PGP SIGNATURE-

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - September 28-29, 2007
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Adding an image to Disclaimer on Outgoing e-mails

2007-09-10 Thread Jasbir Khehra
On 9/7/07, Kenneth Gonsalves [EMAIL PROTECTED] wrote:

 On 07-Sep-07, at 6:30 PM, Karanbir Singh wrote:

  Now the higher ones want the company logo as part of disclaimer on
  all
  outgoing email. The setup for disclaimer is  postfix --- altermime
 
  you might want to point out to them the cost of such, in transport
  terms. The
  general point against email ethics. And finally, such disclaimers
  are not enforceable.
@Karan, Tried, objections fell on deaf ears, all they know that this
type of thing is being done by other products.

 wont work - suits are suits
So true.

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - September 28-29, 2007
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Adding an image to Disclaimer on Outgoing e-mails

2007-09-07 Thread Kenneth Gonsalves

On 07-Sep-07, at 6:30 PM, Karanbir Singh wrote:

 Now the higher ones want the company logo as part of disclaimer on  
 all
 outgoing email. The setup for disclaimer is  postfix --- altermime

 you might want to point out to them the cost of such, in transport  
 terms. The
 general point against email ethics. And finally, such disclaimers  
 are not
 enforceable. Eamil is a means of communication and under common law  
 terms
 handled as such.

wont work - suits are suits


-- 
regards

Kenneth Gonsalves
Associate, NRC-FOSS
[EMAIL PROTECTED]
http://nrcfosshelpline.in/web/




___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - September 28-29, 2007
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


[ilugd] Adding an image to Disclaimer on Outgoing e-mails

2007-09-07 Thread Jasbir Khehra
Hi all,

Now the higher ones want the company logo as part of disclaimer on all
outgoing email. The setup for disclaimer is  postfix --- altermime
  postfix , which is very well documented and works like a charm.
So to add the image,  passing the output from altermime to a python
script which first checks for Content-Type Multipart and then inserts
the image and the HTML tags to src the image as a Multipart/Releted
attachment to the original message.  The final email shows up
correctly in KMail and Thunderbird with the image  being displayed
after the disclaimer text, but not so in M$ Outlook. Well it comes as
an attachment on M$ Outlook.

Has anyone done this before? Any tips? Am I going about it the right way?
This is  a quick hack, dont know much about MIME , so was hoping for
some quick hints here, otherwise will have to thumb through the MIME
RFCs .
The setup is:
Debian Sarge
Postfix 2.1.5-9
Python 2.3.5
Python email package 2.5.5
altermime (built from source) 0.3.8

TIA,
jasbir

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - September 28-29, 2007
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Adding an image to Disclaimer on Outgoing e-mails

2007-09-07 Thread Karanbir Singh
Jasbir Khehra wrote:
 Now the higher ones want the company logo as part of disclaimer on all
 outgoing email. The setup for disclaimer is  postfix --- altermime

you might want to point out to them the cost of such, in transport terms. The 
general point against email ethics. And finally, such disclaimers are not 
enforceable. Eamil is a means of communication and under common law terms 
handled as such.

-- 
Karanbir Singh : http://www.karan.org/ : [EMAIL PROTECTED]

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - September 28-29, 2007
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/