Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ <h2 class="heading-medium">
Send files by email
</h2>
<p class="govuk-body">
Use double brackets to add a placeholder field to your template. This will contain a secure link to download the file.
</p>
<pre class="formatting-example"><code class="lang-md">Download your file at: ((link_to_file))
</code></pre>
Upload a file, then send your recipients a link to download it.
</p>
<p class="govuk-body">Select <b class="govuk-!-font-weight-bold">‘Attach files’</b> when you edit a template and follow the instructions. </p>
<p class="govuk-body">If you use the Notify API to send emails, follow the ‘Send a file by email’ instructions in the <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('main.guidance_api_documentation') }}">API documentation</a>.</p>

Next, use the API to upload your file. Follow the instructions to send a file by email in the <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('main.guidance_api_documentation') }}">API documentation</a>.
37 changes: 19 additions & 18 deletions app/templates/views/guidance/using-notify/send-files-by-email.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends "content_template.html" %}
{% from "components/service-link.html" import service_link %}

{# Used by the content_template.html layout, prefixes the "navigation" accessible name #}
{% set navigation_label_prefix = 'Using Notify' %}
Expand All @@ -13,29 +14,29 @@ <h1 class="heading-large">Send files by email</h1>

<p class="govuk-body">Notify offers a safe and reliable way to send files by email.</p>

<p class="govuk-body">Upload a file using our API, then send users an email with a link to download it.</p>
<p class="govuk-body">Upload a file, then send users an email with a link to download it.</p>
<p class="govuk-body">Notify uses encrypted links instead of email attachments because:</p>

<p class="govuk-body">Notify uses encrypted links instead of email attachments because:</p>
<ul class="govuk-list govuk-list--bullet">
<li>they’re more secure</li>
<li>email attachments are often marked as spam</li></ul>

<ul class="govuk-list govuk-list--bullet">
<li>they’re more secure</li>
<li>email attachments are often marked as spam</li>
</ul>

<h2 class="heading-medium">Protect personal information about your users</h2>
<p class="govuk-body">When the recipient clicks the link in the email, they will need to enter their email address. Only someone who knows the recipient’s email address can download the file. This security feature is optional.</p>
<p class="govuk-body">You can also choose the length of time that a file is available to download. When deciding this, you should consider:</p>
<p class="govuk-body">To send a file by email:</p>
<ol class="govuk-list govuk-list--number">
<li>Go to the {{ service_link(current_service, 'main.choose_template', 'templates') }} page.</li>
<li>Add a new email template or choose an existing one.</li>
<li>Select <b class="govuk-!-font-weight-bold">Attach files</b>.</li>
<li>Upload your file.</li>
</ol>

<ul class="govuk-list govuk-list--bullet">
<li>the need to protect the recipient’s personal information</li>
<li>whether the recipient will need to download the file again later</li>
</ul>
<p class="govuk-body">For security, choose how long the file is available for and ask recipients to confirm their email address before they can download it.</p>

<h2 class="heading-medium">How to send files by email</h2>
<p class="govuk-body">This is currently an API-only feature. You’ll need a developer on your team to set it up for you.</p>
<h2 class="heading-medium">If you use the Notify API</h2>
<p class="govuk-body">
To send a file by email, follow the instructions in our
<a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('main.guidance_api_documentation') }}">API documentation</a>.
</p>
Follow the instructions in our
<a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('main.guidance_api_documentation') }}">API documentation</a>.</p>
<p class="govuk-body">You’ll need a developer on your team to set it up for you.</p>


{% endblock %}
Loading