Manager

Manager program.
Tasklist

FS#154 - Send project file via mail after closing

Attached to Project: Manager
Opened by Jens Lauritsen (jlauritsen) - Wednesday, 26 August 2015, 11:11 GMT
Last edited by Torsten Bonde Christiansen (torstenchr) - Friday, 21 April 2017, 10:09 GMT
Task Type Feature Request
Category Functionality → "Tools"
Status Closed
Assigned To Torsten Bonde Christiansen (torstenchr)
Operating System All
Severity Low
Priority Urgent
Reported Version 2.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

In collaborative projects it is imperative that entry personnel can easily send the most recent epx file to the project sectretariat.

Therefore the following option is requested:

Implementation:

Manager:
a option in project under Project definition (Implemented in Manager for definition)
(same tab sheet as definition of backup)
check box "Send epz file after backup" __
If ticked, then define these aspects:
1. If data are NOT encrypted stop and inform of this requirement
2. if encryption is in place then add to definition of the project:
(and parsed later to the mail client:
1 mailadress to send to
2 content of subject line, default: Backup copy of xxx (name of project)
3 mail content, default
Line 1: Attach this file: (file name with full path will be added to line 1 by EntryClient)
Line 2: Remember to attach the mentioned file (name has been copied to clipboard)

b In preferences a default value should be created for the mentioned parts 1 2 3 .
"Backup copy of"
"Attached find a copy of"
"Saved on"
"Mail to address"

c In tools in Manager add "Send project file to"
A : checks if the data file is encrypted if not then give a warning and close
"Only projects with encrypted data can be sent"
B :Does the same as in EntryClient, but the user points at a given file
1 mailadress to send to
2 content of subject line, default: Backup copy of xxx (name of project)
3 mail content, default:
Attached find a copy of xxxxx (file name with full path)
Saved on: xxx (file date-time stamp from operating system)

This task depends upon

Closed by  Torsten Bonde Christiansen (torstenchr)
Friday, 21 April 2017, 10:09 GMT
Reason for closing:  Implemented
Additional comments about closing:  Implemented in v4.0
Comment by Torsten Bonde Christiansen (torstenchr) - Wednesday, 26 August 2015, 11:25 GMT
  • Field changed: Status (Assigned → Waiting on Feedback)
It is NOT possible to auto-create emails using an OS' default mailclient with an attachment.
Comment by Jens Lauritsen (jlauritsen) - Wednesday, 26 August 2015, 11:44 GMT
SEND TO MAIL CLIENT WORKS FROM OTHER CLIENTS, E.G. BROWSER
Comment by Torsten Bonde Christiansen (torstenchr) - Wednesday, 26 August 2015, 11:46 GMT
Please re-read this line:

It is NOT possible to auto-create emails using an OS' default mailclient WITH AN ATTACHMENT!
Comment by Jens Lauritsen (jlauritsen) - Wednesday, 26 August 2015, 11:53 GMT
http://forum.lazarus.freepascal.org/index.php?topic=12242.0

OpenURL('email@adress.com?'+
'subject=hello&'+
'body=Hello World&'+
'attach='+SaveDlg.FileName);
(note that the Attachment is added !)
Comment by Torsten Bonde Christiansen (torstenchr) - Wednesday, 26 August 2015, 12:03 GMT
There is no "ATTACHMENT" header that can be used in the "mailto" URI Scheme:

https://tools.ietf.org/html/rfc6068
Comment by Jens Lauritsen (jlauritsen) - Friday, 25 September 2015, 10:38 GMT
Task has been changed since no standard seems to be present for "attachment" indication in mailto: actions.

The remedy is then:
full file name including path is added to a mailto: action
full file name is added to clipboard for easy pasting in the mail software's attachment dialogue.

Loading...