[maemo-developers] [maemo-developers] Re: Sending mail from console

From: Zoran Kolic zkolic at sbb.co.yu
Date: Tue Jan 30 16:41:50 EET 2007
> I try to send an email from a console application using the integrated
> osso-email, but it seems that ist does not have a console mode or a
> suitable dbus call.

Unix pipes have a hard time to work with graphic apps.

> If I put a mail into apps/email/Mail/Outbox/ using a reengineered
> filename (something like "accountname^Outbox^msgid"), the mail is
> _sometimes_ delivered when calling send_and_receive, but not always.
> Sometimes the mail is set on hold: I can see it in the Outbox folder of
> osso-email but I have to manually force the send using the "send" button.

You could write the file in text editor, add headers and send it,
if I'm not wrong in this case. Also, login into your smtp server,
write the letter and let the server do the rest.

> Is there a reliable way to insert an email into the internal mail spool?

All ways are reliable if the mail is there.
The plain file on desktop you may send by ssmtp or similar. It is
not available on 770, as I know.


More information about the maemo-developers mailing list