curl / Mailing Lists / curl-users / Single Mail

curl-users

-T -F smtps

From: <pastebin_at_gmx.com>
Date: Thu, 23 Aug 2018 12:42:07 -0600

Hi

# good headers
curl -v -k --ssl-reqd smtps://"user:password"@server.net --mail-from a_at_server.net --mail-rcpt d_at_server.net -T ./email1.txt

# no headers but good attachment
curl -v -k --ssl-reqd smtps://"user:password"@server.net --mail-from a_at_server.net --mail-rcpt d_at_server.net -T ./email1.txt -F '=@./a.mp3;encoder=base64'

i followed the rfc5322 and it gives good headers without the attachment?

Could someone tell me what is wrong with this coding?

Thanks
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-08-23