Configure SendMail to go through GMAIL as SMTP server

Hello !

I'd like to use my GMail account as SMTP server.

Has anyone done that ?

Is it feasible ?

I have configured mine but, when I do send the email, I have a problem at the session .

Here's a session transcript :

Connecting to mail server.
Connected.
220 mx.google.com ESMTP 9sm972217yws.28
EHLO jose-pc
250-mx.google.com at your service, [189.35.124.65]
250-SIZE 35651584
250-8BITMIME
250 ENHANCEDSTATUSCODES
AUTH LOGIN
530 5.7.0 Must issue a STARTTLS command first. 9sm972217yws.28
530 5.7.0 Must issue a STARTTLS command first. 9sm972217yws.28


What's this STARTTTLS issue ?

How do I configure it ?

Thanks in advance !
 

dim

Dimitry Andric
May 31, 2008
205
1
Netherlands
On 2008-12-15 16:07, JOSE ADRIANO BALTIERI wrote:

> 530 5.7.0 Must issue a STARTTLS command first. 9sm972217yws.28
> 530 5.7.0 Must issue a STARTTLS command first. 9sm972217yws.28
>
> What's this STARTTTLS issue ?

It's for encrypting the SMTP traffic (using SSL/TLS). I don't think
TCC's sendmail command supports it. At least, I can find no options
regarding SSL or TLS anywhere in the options dialog.
 
May 20, 2008
3,515
4
Elkridge, MD, USA
JOSE ADRIANO BALTIERI wrote:
|
| I'd like to use my GMail account as SMTP server.

Did you mean "SMTP client"?

Actually, the computer where you want to receive mail needs to run an SMTP
client program, to connect to GMAIL, which acts as the SMTP server. The
"account" itself is just a data base where the server collects your mail,
and from which you can access it.
--
Steve
 
May 20, 2008
3,515
4
Elkridge, MD, USA
JOSE ADRIANO BALTIERI wrote:
| ---Quote (Originally by Steve Fábián)---
| JOSE ADRIANO BALTIERI wrote:
||
|| I'd like to use my GMail account as SMTP server.
|
| Did you mean "SMTP client"?
|
| -
| Steve
| ---End Quote---
| Steve :
|
| Simply put, I want to use SENDMAIL and use GMAIL as account.
|
| How do I configure it ?

Unfortunately I do not think SENDMAIL supports it, as dim already reported.
AFAIK GMAIL access is browser-based. SENDMAIL works well with standard SMTP
and MAPI mail servers only.
--
Steve
 
May 20, 2008
11,546
104
Syracuse, NY, USA
On Mon, 15 Dec 2008 10:29:45 -0600, Steve Fábián <> wrote:


>JOSE ADRIANO BALTIERI wrote:
>|
>| I'd like to use my GMail account as SMTP server.
>
>Did you mean "SMTP client"?
>
>Actually, the computer where you want to receive mail needs to run an SMTP
>client program, to connect to GMAIL, which acts as the SMTP server. The
>"account" itself is just a data base where the server collects your mail,
>and from which you can access it.

SENDMAIL is the SMTP client.

STARTTLS is used to initiate SSL. I don't think SENDMAIL has that capability.

I have heard of folks using BLAT (an SMTP client without SSL) successfully
together with "STUNNEL" (see http://www.stunnel.org/ ... "Stunnel is a program
that allows you to encrypt arbitrary TCP connections inside SSL"). Perhaps it
would also work with SENDMAIL.

FWIW, around here, mx.google.com doesn't seem to exist.
 
OK.

I suspected about SSL but was not sure. One of the things I like GMAIL is that it uses SSL.

However, nowadays I use SENDMAIL perfectly on a normal basis with our servers here at the University.

I just wanna send some private emails through GMAIL. Not a big deal.

I consider this thread closed.

Thank you all who have cooperated ! Great product 4NT, I love it. Wonderful comunity of users.

BTW, what's going on with Mr Rex ? I knew he went to a surgery. Hope he's doing fine !

Thanks !
 
May 20, 2008
3,515
4
Elkridge, MD, USA
JOSE ADRIANO BALTIERI wrote:
| BTW, what's going on with Mr Rex ? I knew he went to a surgery. Hope
| he's doing fine !

He is back at work, though typing with only one hand. For those of us who
learned to type with all fingers, this is a major slow-down. Let's hope and
pray it won't last too long!
--
Steve
 

dim

Dimitry Andric
May 31, 2008
205
1
Netherlands
On 2008-12-15 18:45, Steve Fábián wrote:

> Unfortunately I do not think SENDMAIL supports it, as dim already reported.
> AFAIK GMAIL access is browser-based. SENDMAIL works well with standard SMTP
> and MAPI mail servers only.

GMail's SMTP servers are quite standard, but simply require STARTTLS
(e.g. encryption) before any authentication takes place. This prevents
your username and password going over the net in cleartext.
 
Dec 19, 2010
18
0
And in tcmd.exe menu 'Options' > 'Configure tcc' > 'Internet"
set

server = smtp.gmail.com
address=<your Gmail email address>
user=<your Gmail email address>
password=<your Gmail password>
port = 587

That is tested and works as expected.

Similar for 'sendhtml'
 
Similar threads
Thread starter Title Forum Replies Date
rps Fixed Configure TCMD/TCC Tabbed toolbar buttons not persistant Support 3
Jay Sage Version 12: No Option to Configure Toolbar Support 2
R TC 11.00.33 - Options/Configure TC/Tabs Support 1
J V10 "Configure tab toolbar" issues Support 3
T Open & Configure multiple TCC windows on STARTUP Support 4
Jay Sage How to? SENDMAIL with G-Suite Mail Account Support 6
vefatica SENDMAIL via smtp.gmail.com? Support 3
C How to? inline IMG with sendmail? Support 7
R TCC-RT sendmail Support 8
R Fixed Sendmail parameter /USER= does not work Support 4
C sendmail in v20.00.25 x64 Support 7
Mordachai How to pass URL to sendmail? Support 10
J Sendmail, SSL and MS Servers Support 11
C SendMail and yahoo.com Support 1
C Sendmail w/GMail - problem Support 6
C Google Sendmail ? Support 15
Joe Caverly How to? SendMail and SSL Support 2
Dan Glynhampton Fixed v15 sendmail : password encryption problem Support 18
Jay Sage SENDMAIL Apparently Not Setting Priority Support 2
S @CON: does not work with sendmail for pipe Support 2
vefatica SENDMAIL, command line override SMTP server? Support 2
Joe Caverly SENDMAIL under v14 Support 3
dcantor SENDMAIL /= missing field Support 4
C Using dif. sending addresses with sendmail Support 11
C sendmail TO name? Support 9
A Using SENDMAIL with Exchange Server Support 1
H Minor bug in v12 SENDMAIL Support 0
Jay Sage SENDMAIL Problem in TCC12 Support 10
dcantor Problem with SENDMAIL /H Support 4
Jay Sage How Can SENDMAIL Create Messages with Plain Text and HTML Support 2
C sendmail question Support 1
dcantor Feature request for SENDMAIL Support 0
S SENDMAIL attachment size limit Support 1
S SENDMAIL vs. RFC 2822 Support 0
S SENDMAIL vs. RFC 2822 Support 0
D How to use multi-line DO to loop through first level directory names Support 5
L Using TCC.exe through an SSH connection Support 3
J Piping ANSI control sequences through 'type' Support 4
R How to? Launch and execute commands in tcmd.exe through MSBuild Script. Support 3
J Passing % character through command line to .btm Support 5
vefatica @TRUENAME not seeing through junction Support 11
M How to? How do I read a Unicode file through standard-input? Support 4
Emilio III Control characters pass through? Support 6
B A swedish character sent through keystack gets converted Support 4

Similar threads