https://api.drupal.org/api/drupal/core%21includes%21file.inc/function/fi...
Transforms an absolute URL of a local file to a relative URL.
May be useful to prevent problems on multisite set-ups and prevent mixed content errors when using HTTPS + HTTP.
Parameters string
$file_url: A file URL of a local file as generated byfile_create_url().Return value string If the file URL indeed pointed to a local file and was indeed absolute, then the transformed, relative URL to the local file. Otherwise: the original value of
$file_url.
Recent comments
Most likely this is a problem with views_send.
Mail does not attach pdf and is sent unformatted after upgrade to php 8.1
Yes, this was solved in MIME mail: https://github.com/backdrop-contrib/mimemail/issues/52 The issue was that starting in php 8.1, you need \r\n to separate the header lines. Mimemail did...
Mail does not attach pdf and is sent unformatted after upgrade to php 8.1
Was this problem ever resolved @argiepiano? I am experiencing something similar with smtp, mailsystem, mime_mail and views_send. If I try to attach a pdf document, it gets sent but...
Mail does not attach pdf and is sent unformatted after upgrade to php 8.1