libCurl for SMTP
Anyone know how to use libCurl for email transfer ? There's example code on their site, but the operations are not explained.
curl --url 'smtps://smtp.gmail.com:465' --ssl-reqd \ --mail-from '[email protected]' --mail-rcpt '[email protected]' \ --upload-file mail.txt --user '[email protected]:password' --insecure mail.txt file contents:- From: "User Name" <[email protected]> To: "John Smith" <[email protected]> Subject: This is a test Hi John, I’m sending this mail with curl thru my gmail account. Bye!
I have tried every way I could find but still I can't display my local images ..what am I doing wrong?
Pls rectify the errors.
I cant understand what the problem here is. Can anyone help me out? the system in sololearn called it an error in test case 1
Izzy the iguana code coach