Discussion:
-T -F smtps
p***@gmx.com
2018-08-23 18:42:07 UTC
Permalink
Hi

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

# no headers but good attachment
curl -v -k --ssl-reqd smtps://"user:password"@server.net --mail-from ***@server.net --mail-rcpt ***@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/et

Loading...