TIP_SENDMAIL(), TLS handshake, does not send any mail using gmail service provider (hb 3.4.0dev b497d49)

165 views
Skip to first unread message

hbenrico

unread,
Oct 15, 2017, 3:25:48 PM10/15/17
to Harbour Developers
hi all,

unfortunately the function does not work anymore, and only using gmail smtp.
I am always using TLS handshake.
- if I configure the harbour app to use a different provider, it works fine.
- if I use a non-harbour app to send mail through gmail , it works fine.

please could anyone help me?
thanks in advance

Enrico.



smtp-5.log
smtp-6.log

hbenrico

unread,
Oct 15, 2017, 6:30:43 PM10/15/17
to Harbour Developers
Excuse me I got confused, I should have written TIP_MAILSEND() in the object :) thanks.
Enrico

Francolino

unread,
Oct 17, 2017, 7:06:59 AM10/17/17
to harbou...@googlegroups.com

Hi Enrico,

Which version of Harbour are you working with?

I ship without inconvenience for port 587 (TLS) and 465 (SSL). Do not forget to enable gmail for "Less secure apps".
(Nota: Antes de iniciar el proceso de configuración, asegúrate de que el ajuste Aplicaciones menos seguras está habilitado en la cuenta en cuestión. )

Support for this functionality was added in the following modification:

2015-02-10 17:23 UTC + 0100 Przemyslaw Czerpak

Look at the following example:

https://github.com/harbour/core/blob/master/contrib/hbtip/tests/email.prg


Regards,

Juan Francolino
--
You received this message because you are subscribed to the Google Groups "Harbour Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-deve...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

hbenrico

unread,
Oct 17, 2017, 2:09:19 PM10/17/17
to Harbour Developers
Hi Juan,

I'm using Harbour 3.4.0dev (always the latest snapshot)
I have enabled the gmail flag you mention, even because tip_mailsend() WAS working good...

from a certain point on, the function has stopped working.

I can deliver gmail mail using another non-harbour software, without errors.... so I think it all is working good from gmail side.

I will be very happy if the function will work again with gmail,  I dont know how to fix it.

thank you very much for your support, please let me know if you have any suggestions
Enrico.
Reply all
Reply to author
Forward
0 new messages