wp_mail Allow Remote Attachments from CDN

Solved by Tom J Nowell’s suggestion. Our form plugin fortunately has a filter before the data is passed to wp mail, so there I was able to swap the attachment url for one pointing to the temporary folder.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)