Hi Martijn,
Thank you. I changed the config.xml and everything works as expected. Yes, I
think the e-mail flow is now more logical. I hope this will be part of
future releases.
Kind regards and thank you for your great work
Martin
-----Ursprüngliche Nachricht-----
Von: users-bounces(a)lists.djigzo.com [mailto:users-bounces@lists.djigzo.com]
Im Auftrag von Martijn Brinkers
Gesendet: Donnerstag, 5. Juli 2012 22:59
An: users(a)lists.djigzo.com
Betreff: Re: [Djigzo users] PDF Encryption password
On 07/05/2012 08:06 PM, Martin Dahm wrote:
If i send a PDF-Encrypted
e-mail with "Send (password) to originator"
checked the password will always be
sent back to me regardless if there is a SMS mobile number in the
Subject Line or not.
The other way round. If this checkbox "Send (password) to originator"
is NOT checked I get an "Encryption failed"
message when there is no SMS mobile number in the Subject Line.
Is there a possibility to change this behavior. With a mobile number
the password will be send to this number.
Without mobile number the password will be send to the originator ?
Or maybe, the password will
always be sent to the originator ?
Password validity intervall is set to -1 and it is the first e-mail
contact with the receipient.
Hi Martin,
This can currently only be changed by modifying the config.xml file. The
config.xml contains the complete email flow with all the steps taken. I have
attached a config.xml file which first checks whether there is a valid phone
number and if so, will use it to send the password by SMS.
On the original config.xml the check for the phone number was done after the
check for "send back to originator" and otp. I have tested the config.xml
briefly and it was working but you need to check whether it works for you as
well.
It might be that in future releases I change the email flow to first check
for SMS since that might be more logical. I do however need to make sure
that it's not a problem for existing customers/users.
The attached config.xml is for the latest relase 2.4.0-3. If you have an
older release, you need to merge the changes manually.
Kind regards,
Martijn
--
DJIGZO email encryption