Hi,
When the notificaton email is sent, I do include the [post_body]. If there is an attached file, it does show in the email as a link to the file.
In the email, the URL is missing the “https:”
Example : //lelaurier.net/xyz instead of https://lelaurier.net/xyz
How can I fix that ?
Hi,
Please attach a screenshot of the email content and let us know how the file is attached. Are you using the wpForo Advanced Attachments add-on?
Also, please provide a screenshot of the related post.
Hi Sofy,
I am not using wpForo Advanced Attachments add-on.
All URL links in the email do work fine. Only the URL of the file "Ordre-du-jour-du-27-janvier.docx" does not work.
The hyperlink is :
//lelaurier.net/wp-content/uploads/wpforo/default_attachments/1769516327-Ordre-du-jour-du-27-janvier.docx (see image - Outlook security message)
instead of :
https://lelaurier.net/wp-content/uploads/wpforo/default_attachments/1769516327-Ordre-du-jour-du-27-janvier.docx
My General settings are OK :
are both set to https://lelaurier.net/
Thanks in advance. Louis
Dear @lelaurier.
Please find the answer from the developers team below:
This is expected behavior and it’s OK.
When a URL starts with //domain.com/file, it’s a protocol-relative URL. The browser (or email client) automatically applies the correct protocol (http or https) based on the website or email context.
Because of this, it’s not necessary to explicitly add http:// or https://. The link will still work correctly and the file will be downloaded as expected when clicked.
Hi @sofy
You said "The link will still work correctly and the file will be downloaded as expected when clicked."
This is not true. It might do it on the website itself but not in email client. It does show errors in Outlook 365 ( see two attached images) and on my iPhone it just do nothing. All my users reported the same.
Why dont they put the HTTPS: ... they do it for all other links in the notfication email.
Could there be a workaround snippet that I could apply.