[Erp5-users] How to send email with attachment

Danny Admin dannywork1 at hotmail.com
Wed Jan 21 05:35:07 CET 2009


Thanks for the answer.

Another thing I need is that I want to generate a report and attach it with email through coding. You can say it is a part of workflow on reaching a particular state.

Can anyone help me in this regard?

Thanks
Danny

> From: seb at nexedi.com
> To: erp5-users at erp5.org
> Date: Tue, 6 Jan 2009 09:37:58 +0100
> Subject: Re: [Erp5-users] How to send email with attachment
> 
> > 2009/1/5 Danny Admin <dannywork1 at hotmail.com>:
> > > Hi,
> > >
> > > Can anyone help me how can i send email with an attachment ?
> >
> > I don't know what is the pure ERP5-ish way to do it - I'd simply use
> > Python's in-built "email" package which is very simple to use.
> 
> The notification tool supports attachments. The sendMessage method can support 
> both attachment_list and attachment_document_list parameters. You can look at 
> the docstring of the sendMessage method (ERP5/Tool/NotificationTool.py).
> 
> Regards.
> 
>   Sébastien.
> 
> 
> >
> > Bartek
> >
> > > Regards
> > > Danny
> > >
> > > ________________________________
> > > Invite your mail contacts to join your friends list with Windows Live
> > > Spaces. It's easy! Try it!
> > > _______________________________________________
> > > Erp5-users mailing list
> > > Erp5-users at erp5.org
> > > http://mail.nexedi.com/mailman/listinfo/erp5-users
> _______________________________________________
> Erp5-users mailing list
> Erp5-users at erp5.org
> http://mail.nexedi.com/mailman/listinfo/erp5-users

_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.tiolive.com/pipermail/erp5-users/attachments/20090121/35719fde/attachment.htm>


More information about the Erp5-users mailing list