curl / Mailing Lists / curl-users / Single Mail

curl-users

Fw: -T -F smtps

From: <pastebin_at_gmx.com>
Date: Wed, 29 Aug 2018 07:45:11 -0600

Is the fix for this so obvious or so simple that it is being ignored here?

Begin forwarded message:

Date: Thu, 23 Aug 2018 12:42:07 -0600
From: pastebin_at_gmx.com
To: curl-users_at_cool.haxx.se
Subject: -T -F smtps

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
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-08-29