cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: smtp with ssl

From: Michael Wood <esiotrot_at_gmail.com>
Date: Fri, 15 Oct 2010 09:09:52 +0200

On 14 October 2010 23:45, Alona Rossen <arossen_at_opentext.com> wrote:
[...]
> I am trying to send an email via gmail using cURL command line. I am certain
> that my usr:pwd are correct.

Change your password *NOW*! You have just told everybody your
username and password!

> Please advise where I go wrong:

It is not the username and password that gmail is complaining about.

[...]
>> MAIL FROM:alona.rossen_at_gmail.com
> < 555 5.5.2 Syntax error. in12sm12072832ibb.9
> * Access denied: 555
[...]

This is the problem.

The correct syntax is:

MAIL FROM:<alona.rossen_at_gmail.com>

So, try putting <> around the sender and recipient addresses.

-- 
Michael Wood <esiotrot_at_gmail.com>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-10-15