A curl command page

  • send email by curl
curl -k -n --ssl-reqd --url "smtp://localhost:587" --mail-from stephanie@plop.org --mail-rcpt stephane@nethservertest.org --upload-file /dev/null -u 'stephane@domain.com':'PASSWORD' -v
curl -k -n --ssl-reqd --url "smtps://localhost:465" --mail-from stephanie@plop.org --mail-rcpt stephane@nethservertest.org --upload-file /dev/null -u 'stephane@domain.com':'PASSWORD' -v