<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Thanks for the answer.<br><br>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.<br><br>Can anyone help me in this regard?<br><br>Thanks<br>Danny<br><br>> From: seb@nexedi.com<br>> To: erp5-users@erp5.org<br>> Date: Tue, 6 Jan 2009 09:37:58 +0100<br>> Subject: Re: [Erp5-users] How to send email with attachment<br>> <br>> > 2009/1/5 Danny Admin <dannywork1@hotmail.com>:<br>> > > Hi,<br>> > ><br>> > > Can anyone help me how can i send email with an attachment ?<br>> ><br>> > I don't know what is the pure ERP5-ish way to do it - I'd simply use<br>> > Python's in-built "email" package which is very simple to use.<br>> <br>> The notification tool supports attachments. The sendMessage method can support <br>> both attachment_list and attachment_document_list parameters. You can look at <br>> the docstring of the sendMessage method (ERP5/Tool/NotificationTool.py).<br>> <br>> Regards.<br>> <br>> Sébastien.<br>> <br>> <br>> ><br>> > Bartek<br>> ><br>> > > Regards<br>> > > Danny<br>> > ><br>> > > ________________________________<br>> > > Invite your mail contacts to join your friends list with Windows Live<br>> > > Spaces. It's easy! Try it!<br>> > > _______________________________________________<br>> > > Erp5-users mailing list<br>> > > Erp5-users@erp5.org<br>> > > http://mail.nexedi.com/mailman/listinfo/erp5-users<br>> _______________________________________________<br>> Erp5-users mailing list<br>> Erp5-users@erp5.org<br>> http://mail.nexedi.com/mailman/listinfo/erp5-users<br><br /><hr />Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! <a href='http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us' target='_new'>Try it!</a></body>
</html>