Discussion:
[Erp5-dev] How to send email with attachment
Danny Admin
2009-01-05 21:17:07 UTC
Permalink
Hi,

Can anyone help me how can i send email with an attachment ?

Regards
Danny

_________________________________________________________________
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-dev/attachments/20090106/d1153fd1/attachment.htm>
Danny Admin
2009-01-21 04:35:07 UTC
Permalink
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
Post by Danny Admin
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
Post by Danny Admin
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-dev/attachments/20090121/35719fde/attachment.htm>
Bartek Gorny
2009-01-21 08:38:13 UTC
Permalink
Post by Danny Admin
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
Post by Danny Admin
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
Post by Danny Admin
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
Post by Danny Admin
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"
Danny Admin
2009-01-21 04:35:07 UTC
Permalink
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
Post by Danny Admin
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
Post by Danny Admin
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-dev/attachments/20090121/35719fde/attachment-0001.htm>
-------------- next part --------------
Loading...