Use cURL instead of file_get_contents (sendgrid extension) Home › Forums › Newsletter Plugin Support › Use cURL instead of file_get_contents (sendgrid extension) This topic has 1 reply, 2 voices, and was last updated 8 years, 7 months ago by Stefano. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts January 26, 2015 at 10:51 pm #14926 matomParticipant On my host I have disabled allow_url_fopen for security reasons (best practice) so I can’t use file_get_contents() and I shouldn’t. Have you considered using cURL instead of file_get_contents() ? Here are some examples: https://www.balasai.com/esupportv4/index.php?/Knowledgebase/Article/View/137/0/curl-function-instead-of-allow_url_fopen http://stackoverflow.com/questions/3979802/alternative-to-file-get-contents January 29, 2015 at 10:52 pm #14949 StefanoKeymaster You’re right, I added it in the new mods list. Thank you. Author Posts Check out our premium plans with priority support. Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In