curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Sending email to gmail account

From: Sean MacLennan <seanm_at_seanm.ca>
Date: Mon, 11 Dec 2017 22:04:33 -0500

On Mon, 11 Dec 2017 01:03:22 +0100
Patrick Monnerat via curl-library <curl-library_at_cool.haxx.se> wrote:

> On 12/10/2017 09:47 PM, Sean MacLennan wrote:
> > Connected_to_74.125.124.26_but_sender_was_rejected./Remote_host_said:_555_5.5.2_Syntax_error._a188si5053814itg.1_-_gsmtp/
>
> > #define FROM "Sean MacLennan <seanm_at_seanm.ca>"
> > #define TO "<basssam.i.am_at_gmail.com>"
> >
>
> I googled for you about it and found a similar problem:
> https://stackoverflow.com/questions/4321346/555-5-5-2-syntax-error-gmails-smtp
> The solution would be to set a printable name in the recipient
> address too. I'm not sure it is your problem, but if so, this is
> obviously one of the several gmail deviations.

That seems to be the problem!

#define FROM "<seanm_at_seanm.ca>"
#define TO "<basssam.i.am_at_gmail.com>"

works. Everybody uses "Name <email>", how does anything work? Not
that I really care, this allows me to work around the problem.

Thanks!

Cheers,
   Sean
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-12-12