0
Hii Jassim..
Please try following:
- curl -s --user 'api:YOUR_API_KEY' \
- https:
- -F from='Excited User <YOU@YOUR_DOMAIN_NAME>' \
- -F to='foo@example.com' \
- -F cc='bar@example.com' \
- -F bcc='baz@example.com' \
- -F subject='Hello' \
- -F text='Testing some Mailgun awesomness!' \
- --form-string html='<html>HTML version of the body</html>' \
- -F attachment=@files/cartman.jpg \
- -F attachment=@files/cartman.png
for more please refer the site :
https://documentation.mailgun.com/en/latest/api-sending.html#examples