Alexandro,

It is not theory, it is real. I am already using XSimpleMailMessage using OOCalc Basic and Thunderbird and the yahoo smtp server to email press releases to media. It works just fine -- for sending file attachments. What I am asking for is an enhancement to send plain text emails. In Issues Tracker, see Issue 93995 and pls vote for it if it makes sense to you.

http://www.openoffice.org/issues/show_bug.cgi?id=93995


P.S. I can post the Basic code for how to send an email from OOBasic if anyone wants it.

- Arvind Kumar


Alexandro Colorado wrote:
<div class="moz-text-flowed" style="font-family: -moz-fixed">On Wed, 17 Sep 2008 01:13:01 -0500, Arvind Kumar <[EMAIL PROTECTED]> wrote:

I recently switched from using Microsoft Excel & Outlook to OO & Thunderbird. I have Excel macros to compose and send emails to addresses in a spreadsheet and I have just finished porting the MS Basic to OOBasic.

Are there any plans to support a function in the XSimpleMailMessage interface like

    XSimpleMailMessage.setBody()

This will allow OOBasic programs to create plain text emails as opposed to emails with file attachments (via the setAttachement() API). This is one of the gaps between the Microsoft platform and OO/Thunderbird platform.

There are some snippets of code that theorize about using those functions. But it really hasn't pick up since well you still need a server like sendmail or postfix on your system.

Another option is use scripts like the following in python to send email, not sure if it will work with the Python 2.3 that OOo includes: http://kutuma.blogspot.com/2007/08/sending-emails-via-gmail-with-python.html

Specially the email package, smtplib seems to work fine.

Reply via email to