Menu

#1240 erro: sending mail through gmail using curl cmd

closed-invalid
None
1
2013-06-21
2013-06-05
ponmudi
No

os :ubuntu 10.04 lucid lynx

architecture:i386

curl -version:curl 7.19.7 (i686-pc-linux-gnu) libcurl/7.19.7
OpenSSL/0.9.8k zlib/1.2.3.3 libidn/1.15
Protocols: tftp ftp telnet dict ldap ldaps http file https ftps
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz

i got an error while using the following curl cmd in terminal and i
got an error as ssl-reqd unkown option can you give me a solution for
this
my curl cmd :
curl --url "smtps://smtp.gmail.com:465" --ssl-reqd --mail-from
"ponmudi7205@gmail.com --mail-rcpt "ponmudi71@gmail.com --upload-file
file.txt --user "ponmudi7205@gmail.com:veeranam" --insecure

Discussion

  • Dan Fandrich

    Dan Fandrich - 2013-06-05

    Please note that this is a bug tracker, not a help forum. Please ask future questions on the curl-users mailing list.

    The --ssl-reqd option was added over 3 years ago to version 7.20.0. If you had looked at the 7.19.7 documentation, you would have seen no mention of that option.

    P.S. I hope "veeranam" isn't your actual password...

     
  • Dan Fandrich

    Dan Fandrich - 2013-06-05
    • status: open --> closed-invalid