Ask Your Question
0

Is there a way to get the program to send the file as an email automatically as it is saved? [closed]

asked 2012-12-04 00:41:52 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I would like the file to send itself in an email to me once it is changed and saved so I can view it anywhere I am on my email account

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2015-10-19 03:29:59.754550

Comments

1

Consider using a cloud sync service, like Dropbox or Google Drive, as an alternative.

Joao Campos gravatar imageJoao Campos ( 2012-12-04 17:31:11 +0200 )edit

1 Answer

Sort by » oldest newest most voted
2

answered 2012-12-07 04:36:08 +0200

cloph gravatar image

It would be possible, as you can hook up any macro to the save action (Tools | Macros → Organize → Assign → Events) or assign the save menu/toolbar button to your macro that saves & mails the document.

But as already mentioned: Saving it to google docs/drive or some other service probably is more suitable.

Biggest problem with mailing the document is that only the mailmerge functionality uses LibreOffice's own smtp client, and other mail-functionality just call another mail-program, and thus it is not fully automatic, but you have to manually send it in your mail-client. This might be what you want (i.e. have LibreOffice prepare a mail that you can send or discard as you wish) or not (you want to send it always, without doing anything). So it may be easier to not use LibreOffice's mail functionality, but to call another script with the filepath as argument that then takes care of automatically sending the mail - http://caspian.dotconf.net/menu/Software/SendEmail/ might be a good start for that.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-12-04 00:41:52 +0200

Seen: 1,023 times

Last updated: Dec 07 '12