In mailgun site there are un example using curl to send an e-mail:
-F from='Excited User <email@example.com>' \
-F firstname.lastname@example.org' \
-F email@example.com' \
-F firstname.lastname@example.org' \
-F subject='Hello' \
-F text='Testing some Mailgun awesomness!' \
--form-string html='<html>HTML version of the body</html>' \
if I place an html string in --form-string html larger than about 3700 characters, I have a curl error EOF before finding " ' "
is it possible to make something like --form-string html -d @file-with-the-html?
I control send messages from a program that can place commands in the linux prompt. If there's no solution in the command line, I ask for php example for this case.
Thank you in advance