#suchiitsme

1 messages · Page 1 of 1 (latest)

viral estuaryBOT
crimson shore
#

Hi there!

vital canopy
#

Hi

crimson shore
vital canopy
#

yes, used file_get_contents to get the file data and send as base64 attachment

#

But its not working

#

file_get_contents returns empty string

crimson shore
#

I'm not very familiar with file_get_contents. Have you tried setting up a user agent in your request?

vital canopy
#

nope

#

will try

vital canopy
#

not working

mellow drum
#

can you share the exact full code/script you're using?

mellow drum
#

ultimately I don't think we make it easy to download the PDF and that's not really how it's designed. You can simply put the URL itself into the email you send the customer and they can click that and download it!

vital canopy
#

Yes

#

Seems that's the only way

buoyant gazelle
#

👋 taking over for my colleague. Let me know if there's any follow-up Qs I can answer!