Re: [Djigzo users] HTML on template

2017-06-28 Thread Martijn Brinkers via Users
Please send the template off-list. It looks like the mailing software
strips attachments (for security reasons).

I'll have a quick look (but I can't promise I'll fix it)

Kind regards,

Martijn

On 06/28/2017 05:20 PM, Paul Bronson wrote:
> HI Martijn,  can you help with this template?
> 
> On Tue, Jun 27, 2017 at 4:01 PM, Paul Bronson  > wrote:
> 
> Hi,
> 
> I have been trying with this template but had a hard time making the
> button work.
> 
> Can you assist?
> 
> 
> 
> On Tue, Jun 27, 2017 at 11:30 AM, Martijn Brinkers via Users
> mailto:users@lists.djigzo.com>> wrote:
> 
> On 06/27/2017 04:30 PM, Paul Bronson via Users wrote:
> > Hi everyone,
> >
> > Can someone help me with inserting HTML into the OTP template?
> I have tired
> > many different times and I am not familiar with the syntax
> that the system
> > users. Any help would be appreciated. I have tried looking at
> websites for
> > learning the syntax but It doesn't give a clear understanding
> of inserting
> > the HTML.
> 
> Creating an HTML template is more or less similar to creating an
> HTML
> email. The only thing that should be added is some freemarker
> code that
> adds certain content. I'm not going to explain all details on how to
> create an HTML email because there are probably a lot of tutorials
> online for doing that.
> 
> For example, the "Encrypted PDF OTP Invite" mail contains the
> following
> text part (take the text between BEGIN PART and END PART)
> 
> =BEGIN PART=
> Content-Type: text/plain; charset=UTF-8; format=flowed
> Content-Transfer-Encoding: quoted-printable
> 
> [SNIP]
> 
> <#assign passwordID = passwordContainer.passwordID!>
> <#assign passwordLength = passwordContainer.passwordLength!>
> <#assign baseURL = .vars["user.otpURL"]!>
> <#if baseURL != "">
> <#assign recipient = recipients[0]>
> <#assign portalInvitations =
> mail.getAttribute("djigzo.portalInvitations")>
> <#assign portalInvitation = portalInvitations[recipient]>
> <#assign
> 
> url=baseURL+'?id='+passwordID+'&pwl='+passwordLength+'&email='+recipient?url('UTF-8')+'&ts='+portalInvitation.timestamp?c+'&action=signup&mac='+portalInvitation.mac>
> ${qp(url)}
> 
> 
> The password ID of this email is: ${passwordID}
> 
> <#if (from.personal)??>
> Best regards,
> 
> ${qp(from.personal)}
> 
> =END PART=
> 
> The above part will result in the body text of the invite email.
> You can
> replace this by replacing it with HTML content.
> 
> You should be careful with adding HTML because the body should be
> quoted-printable encoded (this for example means that = need to be
> written as =3D when used in the body). Alternatively you can base64
> encode the complete body and set Content-Transfer-Encoding to
> base64.
> This way you can use HTML without having to encode the = symbols.
> 
> Basic example (this is just an example of an HTML template and not
> optimized nor good looking)
> 
> =BEGIN PART=
> Content-Type: text/html; charset=UTF-8;
> Content-Transfer-Encoding: quoted-printable
> 
> 
> 
> Hi,
> 
> 
> This message contains a password encrypted pdf file. The
> password for
> the pdf can be retrieved by logging into the web portal.
> 
> 
> 
> The first time you login, you need to choose a new password.
> 
> 
> 
> You can read the message by following these steps:
> 
> 
> 
>   click the link below.
>   choose a password, and confirm it by typing it again.
>   log in to the site with the password you just chose.
>   press 'generate' to generate the password to the pdf
> file.
>   copy the generated password.
>   open the pdf file, attached to the email you received, and
> paste
> the password in the password box.
> 
> 
> 
> Next time you receive an encrypted pdf file, the email will
> contain a
> link, and you can login with your password
> 
> 
> <#assign passwordID = passwordContainer.passwordID!>
> <#assign passwordLength = passwordContainer.passwordLength!>
> <#assign baseURL = .vars["user.otpURL"]!>
> <#if baseURL != "">
> <#assign recipient = recipients[0]>
> <#assign portalInvitations =
> mail.getAttribute("djigzo.portalInvitations")>
> <#assign portalInvitation = portalInv

Re: [Djigzo users] HTML on template

2017-06-28 Thread Paul Bronson via Users
HI Martijn,  can you help with this template?

On Tue, Jun 27, 2017 at 4:01 PM, Paul Bronson 
wrote:

> Hi,
>
> I have been trying with this template but had a hard time making the
> button work.
>
> Can you assist?
>
>
>
> On Tue, Jun 27, 2017 at 11:30 AM, Martijn Brinkers via Users <
> users@lists.djigzo.com> wrote:
>
>> On 06/27/2017 04:30 PM, Paul Bronson via Users wrote:
>> > Hi everyone,
>> >
>> > Can someone help me with inserting HTML into the OTP template? I have
>> tired
>> > many different times and I am not familiar with the syntax that the
>> system
>> > users. Any help would be appreciated. I have tried looking at websites
>> for
>> > learning the syntax but It doesn't give a clear understanding of
>> inserting
>> > the HTML.
>>
>> Creating an HTML template is more or less similar to creating an HTML
>> email. The only thing that should be added is some freemarker code that
>> adds certain content. I'm not going to explain all details on how to
>> create an HTML email because there are probably a lot of tutorials
>> online for doing that.
>>
>> For example, the "Encrypted PDF OTP Invite" mail contains the following
>> text part (take the text between BEGIN PART and END PART)
>>
>> =BEGIN PART=
>> Content-Type: text/plain; charset=UTF-8; format=flowed
>> Content-Transfer-Encoding: quoted-printable
>>
>> [SNIP]
>>
>> <#assign passwordID = passwordContainer.passwordID!>
>> <#assign passwordLength = passwordContainer.passwordLength!>
>> <#assign baseURL = .vars["user.otpURL"]!>
>> <#if baseURL != "">
>> <#assign recipient = recipients[0]>
>> <#assign portalInvitations = mail.getAttribute("djigzo.port
>> alInvitations")>
>> <#assign portalInvitation = portalInvitations[recipient]>
>> <#assign
>> url=baseURL+'?id='+passwordID+'&pwl='+passwordLength+'&email
>> ='+recipient?url('UTF-8')+'&ts='+portalInvitation.timestam
>> p?c+'&action=signup&mac='+portalInvitation.mac>
>> ${qp(url)}
>> 
>>
>> The password ID of this email is: ${passwordID}
>>
>> <#if (from.personal)??>
>> Best regards,
>>
>> ${qp(from.personal)}
>> 
>> =END PART=
>>
>> The above part will result in the body text of the invite email. You can
>> replace this by replacing it with HTML content.
>>
>> You should be careful with adding HTML because the body should be
>> quoted-printable encoded (this for example means that = need to be
>> written as =3D when used in the body). Alternatively you can base64
>> encode the complete body and set Content-Transfer-Encoding to base64.
>> This way you can use HTML without having to encode the = symbols.
>>
>> Basic example (this is just an example of an HTML template and not
>> optimized nor good looking)
>>
>> =BEGIN PART=
>> Content-Type: text/html; charset=UTF-8;
>> Content-Transfer-Encoding: quoted-printable
>>
>> 
>> 
>> Hi,
>>
>> 
>> This message contains a password encrypted pdf file. The password for
>> the pdf can be retrieved by logging into the web portal.
>> 
>>
>> 
>> The first time you login, you need to choose a new password.
>> 
>>
>> 
>> You can read the message by following these steps:
>> 
>>
>> 
>>   click the link below.
>>   choose a password, and confirm it by typing it again.
>>   log in to the site with the password you just chose.
>>   press 'generate' to generate the password to the pdf file.
>>   copy the generated password.
>>   open the pdf file, attached to the email you received, and paste
>> the password in the password box.
>> 
>>
>> 
>> Next time you receive an encrypted pdf file, the email will contain a
>> link, and you can login with your password
>> 
>>
>> <#assign passwordID = passwordContainer.passwordID!>
>> <#assign passwordLength = passwordContainer.passwordLength!>
>> <#assign baseURL = .vars["user.otpURL"]!>
>> <#if baseURL != "">
>> <#assign recipient = recipients[0]>
>> <#assign portalInvitations = mail.getAttribute("djigzo.port
>> alInvitations")>
>> <#assign portalInvitation = portalInvitations[recipient]>
>> <#assign
>> url=baseURL+'?id='+passwordID+'&pwl='+passwordLength+'&email
>> ='+recipient?url('UTF-8')+'&ts='+portalInvitation.timestam
>> p?c+'&action=signup&mac='+portalInvitation.mac>
>> link
>> 
>>
>> 
>> The password ID of this email is: ${passwordID}
>> 
>>
>> <#if (from.personal)??>
>> 
>> Best regards,
>>
>> ${qp(from.personal)}
>> 
>> 
>>
>> 
>> ---
>> Sent with CIPHERMAIL
>> 
>> =END PART=
>>
>> I have attached the full example template. Other templates should be
>> done in a similar way.
>>
>> An easy way to create HTML email is to use MJML (https://mjml.io/).
>>
>> Kind regards,
>>
>> Martijn Brinkers
>>
>>
>> --
>> CipherMail email encryption
>>
>> Email encryption with support for S/MIME, OpenPGP, PDF encryption and
>> secure webmail pull.
>>
>> https://www.ciphermail.com
>>
>> Twitter: http://twitter.com/CipherMail
>>
>> ___
>> Users mailing list
>> Users@lists.djigzo.com
>> https://lists.djig

Re: [Djigzo users] HTML on template

2017-06-27 Thread Paul Bronson via Users
Hi,

I have been trying with this template but had a hard time making the button
work.

Can you assist?



On Tue, Jun 27, 2017 at 11:30 AM, Martijn Brinkers via Users <
users@lists.djigzo.com> wrote:

> On 06/27/2017 04:30 PM, Paul Bronson via Users wrote:
> > Hi everyone,
> >
> > Can someone help me with inserting HTML into the OTP template? I have
> tired
> > many different times and I am not familiar with the syntax that the
> system
> > users. Any help would be appreciated. I have tried looking at websites
> for
> > learning the syntax but It doesn't give a clear understanding of
> inserting
> > the HTML.
>
> Creating an HTML template is more or less similar to creating an HTML
> email. The only thing that should be added is some freemarker code that
> adds certain content. I'm not going to explain all details on how to
> create an HTML email because there are probably a lot of tutorials
> online for doing that.
>
> For example, the "Encrypted PDF OTP Invite" mail contains the following
> text part (take the text between BEGIN PART and END PART)
>
> =BEGIN PART=
> Content-Type: text/plain; charset=UTF-8; format=flowed
> Content-Transfer-Encoding: quoted-printable
>
> [SNIP]
>
> <#assign passwordID = passwordContainer.passwordID!>
> <#assign passwordLength = passwordContainer.passwordLength!>
> <#assign baseURL = .vars["user.otpURL"]!>
> <#if baseURL != "">
> <#assign recipient = recipients[0]>
> <#assign portalInvitations = mail.getAttribute("djigzo.
> portalInvitations")>
> <#assign portalInvitation = portalInvitations[recipient]>
> <#assign
> url=baseURL+'?id='+passwordID+'&pwl='+passwordLength+'&
> email='+recipient?url('UTF-8')+'&ts='+portalInvitation.
> timestamp?c+'&action=signup&mac='+portalInvitation.mac>
> ${qp(url)}
> 
>
> The password ID of this email is: ${passwordID}
>
> <#if (from.personal)??>
> Best regards,
>
> ${qp(from.personal)}
> 
> =END PART=
>
> The above part will result in the body text of the invite email. You can
> replace this by replacing it with HTML content.
>
> You should be careful with adding HTML because the body should be
> quoted-printable encoded (this for example means that = need to be
> written as =3D when used in the body). Alternatively you can base64
> encode the complete body and set Content-Transfer-Encoding to base64.
> This way you can use HTML without having to encode the = symbols.
>
> Basic example (this is just an example of an HTML template and not
> optimized nor good looking)
>
> =BEGIN PART=
> Content-Type: text/html; charset=UTF-8;
> Content-Transfer-Encoding: quoted-printable
>
> 
> 
> Hi,
>
> 
> This message contains a password encrypted pdf file. The password for
> the pdf can be retrieved by logging into the web portal.
> 
>
> 
> The first time you login, you need to choose a new password.
> 
>
> 
> You can read the message by following these steps:
> 
>
> 
>   click the link below.
>   choose a password, and confirm it by typing it again.
>   log in to the site with the password you just chose.
>   press 'generate' to generate the password to the pdf file.
>   copy the generated password.
>   open the pdf file, attached to the email you received, and paste
> the password in the password box.
> 
>
> 
> Next time you receive an encrypted pdf file, the email will contain a
> link, and you can login with your password
> 
>
> <#assign passwordID = passwordContainer.passwordID!>
> <#assign passwordLength = passwordContainer.passwordLength!>
> <#assign baseURL = .vars["user.otpURL"]!>
> <#if baseURL != "">
> <#assign recipient = recipients[0]>
> <#assign portalInvitations = mail.getAttribute("djigzo.
> portalInvitations")>
> <#assign portalInvitation = portalInvitations[recipient]>
> <#assign
> url=baseURL+'?id='+passwordID+'&pwl='+passwordLength+'&
> email='+recipient?url('UTF-8')+'&ts='+portalInvitation.
> timestamp?c+'&action=signup&mac='+portalInvitation.mac>
> link
> 
>
> 
> The password ID of this email is: ${passwordID}
> 
>
> <#if (from.personal)??>
> 
> Best regards,
>
> ${qp(from.personal)}
> 
> 
>
> 
> ---
> Sent with CIPHERMAIL
> 
> =END PART=
>
> I have attached the full example template. Other templates should be
> done in a similar way.
>
> An easy way to create HTML email is to use MJML (https://mjml.io/).
>
> Kind regards,
>
> Martijn Brinkers
>
>
> --
> CipherMail email encryption
>
> Email encryption with support for S/MIME, OpenPGP, PDF encryption and
> secure webmail pull.
>
> https://www.ciphermail.com
>
> Twitter: http://twitter.com/CipherMail
>
> ___
> Users mailing list
> Users@lists.djigzo.com
> https://lists.djigzo.com/lists/listinfo/users
>
>
___
Users mailing list
Users@lists.djigzo.com
https://lists.djigzo.com/lists/listinfo/users


Re: [Djigzo users] HTML on template

2017-06-27 Thread Martijn Brinkers via Users
On 06/27/2017 04:30 PM, Paul Bronson via Users wrote:
> Hi everyone,
> 
> Can someone help me with inserting HTML into the OTP template? I have tired
> many different times and I am not familiar with the syntax that the system
> users. Any help would be appreciated. I have tried looking at websites for
> learning the syntax but It doesn't give a clear understanding of inserting
> the HTML.

Creating an HTML template is more or less similar to creating an HTML
email. The only thing that should be added is some freemarker code that
adds certain content. I'm not going to explain all details on how to
create an HTML email because there are probably a lot of tutorials
online for doing that.

For example, the "Encrypted PDF OTP Invite" mail contains the following
text part (take the text between BEGIN PART and END PART)

=BEGIN PART=
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable

[SNIP]

<#assign passwordID = passwordContainer.passwordID!>
<#assign passwordLength = passwordContainer.passwordLength!>
<#assign baseURL = .vars["user.otpURL"]!>
<#if baseURL != "">
<#assign recipient = recipients[0]>
<#assign portalInvitations = mail.getAttribute("djigzo.portalInvitations")>
<#assign portalInvitation = portalInvitations[recipient]>
<#assign
url=baseURL+'?id='+passwordID+'&pwl='+passwordLength+'&email='+recipient?url('UTF-8')+'&ts='+portalInvitation.timestamp?c+'&action=signup&mac='+portalInvitation.mac>
${qp(url)}


The password ID of this email is: ${passwordID}

<#if (from.personal)??>
Best regards,

${qp(from.personal)}

=END PART=

The above part will result in the body text of the invite email. You can
replace this by replacing it with HTML content.

You should be careful with adding HTML because the body should be
quoted-printable encoded (this for example means that = need to be
written as =3D when used in the body). Alternatively you can base64
encode the complete body and set Content-Transfer-Encoding to base64.
This way you can use HTML without having to encode the = symbols.

Basic example (this is just an example of an HTML template and not
optimized nor good looking)

=BEGIN PART=
Content-Type: text/html; charset=UTF-8;
Content-Transfer-Encoding: quoted-printable



Hi,


This message contains a password encrypted pdf file. The password for
the pdf can be retrieved by logging into the web portal.



The first time you login, you need to choose a new password.



You can read the message by following these steps:



  click the link below.
  choose a password, and confirm it by typing it again.
  log in to the site with the password you just chose.
  press 'generate' to generate the password to the pdf file.
  copy the generated password.
  open the pdf file, attached to the email you received, and paste
the password in the password box.



Next time you receive an encrypted pdf file, the email will contain a
link, and you can login with your password


<#assign passwordID = passwordContainer.passwordID!>
<#assign passwordLength = passwordContainer.passwordLength!>
<#assign baseURL = .vars["user.otpURL"]!>
<#if baseURL != "">
<#assign recipient = recipients[0]>
<#assign portalInvitations = mail.getAttribute("djigzo.portalInvitations")>
<#assign portalInvitation = portalInvitations[recipient]>
<#assign
url=baseURL+'?id='+passwordID+'&pwl='+passwordLength+'&email='+recipient?url('UTF-8')+'&ts='+portalInvitation.timestamp?c+'&action=signup&mac='+portalInvitation.mac>
link



The password ID of this email is: ${passwordID}


<#if (from.personal)??>

Best regards,

${qp(from.personal)}




---
Sent with CIPHERMAIL

=END PART=

I have attached the full example template. Other templates should be
done in a similar way.

An easy way to create HTML email is to use MJML (https://mjml.io/).

Kind regards,

Martijn Brinkers


-- 
CipherMail email encryption

Email encryption with support for S/MIME, OpenPGP, PDF encryption and
secure webmail pull.

https://www.ciphermail.com

Twitter: http://twitter.com/CipherMail
Content-Type: multipart/mixed; boundary="${boundary}"

--${boundary}
Content-Type: text/html; charset=UTF-8;
Content-Transfer-Encoding: quoted-printable



Hi,


This message contains a password encrypted pdf file. The password for
the pdf can be retrieved by logging into the web portal.



The first time you login, you need to choose a new password.



You can read the message by following these steps:



  click the link below.
  choose a password, and confirm it by typing it again.
  log in to the site with the password you just chose.
  press 'generate' to generate the password to the pdf file.
  copy the generated password.
  open the pdf file, attached to the email you received, and paste the 
password in the password box.
 


Next time you receive an encrypted pdf file, the email will contain a
link, and you can login with your password


<#assign passwo

[Djigzo users] HTML on template

2017-06-27 Thread Paul Bronson via Users
Hi everyone,

Can someone help me with inserting HTML into the OTP template? I have tired
many different times and I am not familiar with the syntax that the system
users. Any help would be appreciated. I have tried looking at websites for
learning the syntax but It doesn't give a clear understanding of inserting
the HTML.
___
Users mailing list
Users@lists.djigzo.com
https://lists.djigzo.com/lists/listinfo/users