[Erp5-dev] [Erp5-users] How to send email with attachment
Bartek Gorny
bartek at gorny.edu.pl
Wed Jan 21 09:38:13 CET 2009
2009/1/21 Danny Admin <dannywork1 at hotmail.com>:
> 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?
Can you ask a specific question, or say exactly what your problem is?
Bartek
> 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! Try it!
> _______________________________________________
> Erp5-dev mailing list
> Erp5-dev at erp5.org
> http://mail.nexedi.com/mailman/listinfo/erp5-dev
>
>
--
"Software is largely a service industry operating under the persistent
but unfounded delusion that it is a manufacturing industry."
Eric S.Raymond, "The Magic Cauldron"
More information about the Erp5-dev
mailing list