Google and smtp setup for MT4

 
Hi Guys,

So is that possible to use the SMTP from Google's servers? and if that is possible, could anyone kindly let me know how. Which should be the configuration?

So far, I've tried smtp.gmail.com:587 , with my User Name and Password, but with no success.

thanks a lot,
 

'SENDMAIL'

 

Or, install your own mail server on your PC:

Maybe something like this:

http://www.softstack.com/freesmtp.html

 
Thanks a lot, phy,

I've checked this this topic https://forum.mql4.com/3980 . And I don't think that make much sense. For Google does support SMTP. I use gmail via webmail and via thunderbird through smtp.

So, what is the problem with MT4? Time out?

Thanks again,
 

So, what is the problem with MT4? Time out?


The SMTP function in MT4 does not include necessary options or interface software needed to access Gmail via SMTP


  1. Configuring other mail clients

    You can use the following information to configure POP with many mail clients. If you encounter difficulties, we suggest contacting your mail client's customer support department for further instructions -- we're unable to provide assistance configuring mail clients not in our supported POP client list.

    Incoming Mail (POP3) Server - requires SSL: pop.gmail.com
    Use SSL: Yes
    Port: 995
    Outgoing Mail (SMTP) Server - requires TLS: smtp.gmail.com (use authentication)
    Use Authentication: Yes
    Use STARTTLS: Yes (some clients call this SSL)
    Port: 465 or 587
    Account Name: your Gmail username (including @gmail.com)
    Email Address: your full Gmail email address (username@gmail.com)
    Password: your Gmail password

 

For MT4, here is a log from my personal mail server, which uses the standard SMTP port 25:

 

12:28:11.375: Connection from 127.0.0.1, Thu Dec 27 12:28:11 2007<lf>

12:28:11.390: << 220 xxxxx.homeip.net ESMTP server ready.<cr><lf>

12:28:11.390: >> HELO xxxxx<cr><lf>

12:28:11.390: << 250 xxxxx.homeip.net Hello, xxxxx.<cr><lf>

12:28:11.390: >> MAIL FROM: <test@xxxxx.homeip.net><cr><lf>

12:28:11.390: << 250 Sender OK - send RCPTs.<cr><lf>

12:28:11.390: >> RCPT TO: <test2@xxxxx.homeip.net><cr><lf>

12:28:11.390: << 250 Recipient OK - send RCPT or DATA.<cr><lf>

12:28:11.406: >> DATA<cr><lf>

12:28:11.406: << 354 OK, send data, end with CRLF.CRLF<cr><lf>

12:28:11.406: >> From: "Expert Advisor" <test@xxxxx.homeip.net><cr><lf>

12:28:11.406: >> To: "MailTest" <test2@xxxxx.homeip.net><cr><lf>

12:28:11.406: >> Subject: Hello<cr><lf>

12:28:11.406: >> Content-Type: text/plain;<cr><lf>

12:28:11.406: >> Content-Transfer-Encoding: 8bit<cr><lf>

12:28:11.406: >> <cr><lf>

12:28:11.406: >> Just a test<cr><lf>

12:28:11.406: >> <cr><lf>

12:28:11.406: >> .<cr><lf>

12:28:11.406: << 250 Data received OK.<cr><lf>

12:28:11.406: >> QUIT<cr><lf>

12:28:11.406: << 221 xxxxx.homeip.net Service closing channel.<cr><lf>

12:28:11.406: --- Connection closed normally at Thu Dec 27 12:28:11 2007. ---

12:28:11.406:

 
brspMA wrote >>
Hi Guys,

So is that possible to use the SMTP from Google's servers? and if that is possible, could anyone kindly let me know how. Which should be the configuration?

So far, I've tried smtp.gmail.com:587, with my User Name and Password, but with no success.

thanks a lot,

As Gmail's SMTP requires SSL, MT4 will not work with it. SMTP2Go provides an SMTP server that works with MT4. See the link below:

http://www.smtp2go.com/blog/smtp-server-metatrader/

 
I'll give it a try. Thanks.
 
plz what is tghe website address of the webmail u re using
brspMA:
Thanks a lot, phy,

I've checked this this topic https://www.mql5.com/en/forum/100974 . And I don't think that make much sense. For Google does support SMTP. I use gmail via webmail and via thunderbird through smtp.

So, what is the problem with MT4? Time out?

Thanks again,
 
try xpMail
 
  1. Why are you replying to a 2 1/2 year old thread?
  2. See also
 
WHRoeder:
  1. Why are you replying to a 2 1/2 year old thread?
  2. See also

I'm sorry. I came to the link from google and the topic seduced me (although it's old) to reply.
Reason: