[Erp5-users] How to send email with attachment

Robin Sébastien seb at nexedi.com
Tue Jan 6 09:37:58 CET 2009


> 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



More information about the Erp5-users mailing list