Re: [Evolution] outgoing mails file/folder in newer versions



Am Freitag, den 06.09.2013, 10:00 +0200 schrieb Tobias Drößler:
Hi Thomas. 

One Question about your reply from evolution mailing list. 
(This is not an evolution specific topic, so i only send the mail to
you)


What about your shell mail line:


echo "message content" | /usr/bin/mail -m ~/ -s "<subject>" -t
"<to_address>" --append="From: <sender address>" mailspool


"my mail" not knows the option '-m' (debian)?


==>Do you have an example or small introduction about the mail spool.
From view of evolution and from external tools (which writes to spool
file)? 


Just tried without -m option. The following worked:

echo foo | mail  -s test -t <to_addr>  --append="From: <from_addr>"
<path_to_mailspool_file>

Check also http://mailutils.org/manual//html_section/index.html.




Thank you, best regards. 

Tobias




Am Freitag, den 06.09.2013, 02:16 +0200 schrieb Thomas Mittelstaedt:
Am Donnerstag, den 05.09.2013, 09:59 +0200 schrieb Stephan Skrodzki:
Hello Tobias,

although I do not know if this is possible at all with evolution. Is
there any special reason why you do not use the "unix standards" for
such purposes? 

The command line "mail" program could be perfectly used for sending
mails from scripts as long as you have set up an MTA (postfix, exim,
sendmail) the right way.

Best regards 
 Stephan

Am Donnerstag, den 05.09.2013, 09:25 +0200 schrieb Tobias Drößler:
Hi, 

i use a shell script to generate some emails (without user interaction)
by appending content to file ~/.evolution/mail/local/Outbox .

This works fine until i update evolution to V3.4.4 (now).

I recognized that evolution uses a new mail storage/organization format
after update. 

I tried to fix the path to ~/.local/share/evolution/mail/ ..  but it did
not work. 

I use an older version of evolution (2.28), but the following worked
well.

1) Create a local mbox account. In receiving options set the mail spool
   file to <yourhome>/mailspool
2) Create a message filter which moves mails whose source account is the
   account from step 1 to your default Outbox folder.
3) Use a little script to generate mails which land in the mailspool
file like that:

echo "message content" | /usr/bin/mail -m ~/ -s "<subject>" -t
"<to_address>" --append="From: <sender address>" mailspool

 


So can someone tell me if its possible to use evolution this way i
described in newer version ?? 

And in which file i have to write for appending a new mail.
I have an pop3 email account, if its matters.

Thanks for your attention! 
best regards 

TobiD

_______________________________________________
evolution-list mailing list
evolution-list gnome org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list

_______________________________________________
evolution-list mailing list
evolution-list gnome org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list







-- 
thomas




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]