Setting up email Alerts: what are SMTP host and port for Gmail?
Author: eleeo234
Creation Date: 7/9/2018 11:12 PM
profile picture

eleeo234

#1
New to Wealth-Lab. I'm trying to set up email alerts from a strategy I set up. In "preferences" it asks about SMTP Host and SMTP Port. I want the alerts to come to a gmail account. Where would I find SMTP Host and SMTP Port?

Thanks in advance.
profile picture

Eugene

#2
Welcome aboard.

QUOTE:
Where would I find SMTP Host and SMTP Port?

You would find them in Google. Search for "gmail smtp" and here they are:

What Are the Gmail SMTP Server Settings?

Often times questions like this have been discussed before and answers can be found as you type a few keywords in the "Search Forum..." text box. Just give it a try by typing in "email" in the search box and you get related discussions in real time. For example, you might find this thread useful as a 'guided tour':

Email setup not connecting

Also, we have a Knowledge Base (Wealth-Lab Wiki) which may also come in handy. Here's one extra step required by Google to take:

Crash on sending email alerts to Gmail. Test mail doesn't go through.
profile picture

eleeo234

#3
Thank you! Great information. That worked. I'll check out the other links.
profile picture

Eugene

#4
At your service.
profile picture

haoborn2013

#5
@Eugene - it looks like you're the master of Wealth Lab. I'm having the same issue. I have gone through and checked the forum but still am unable to receive email alerts.

What I've done so far:
(all for gmail)
-Checked and tried ports 465 and 587
-Checked and unchecked SSL box
-Double check SMTP (smtp.gmail.com)
-Allowed less secure apps on google
-Tried with another computer and an outlook email

The test email says successful and then about 1min later says email failure. A friend of mine said it might be the server host - e.g. the SMTP host on my machine is not sending the email that WLP is asking it to send. I'm not overly techy but I get the basic idea. I have attachments added.

I'm sure I'm missing something so my apologies that you have to repeat yourself. Where should I go from here? If there's another forum somewhere to link to this I will be glad to search there if you have a link.

Many thanks!!
profile picture

Eugene

#6
Aaron,

According to your screenshot, one email account "haoborn2013" (@gmail.com assumed because custom domains are also supported through Google Apps for Domains aka G Suite) is being used to send to your another account which is aaronoborn@gmail.com. Is this true? In this case my only suggestions would be to put haoborn2013@gmail.com in the User ID field explicitly - and double check your password.

Otherwise if you intended the aaronoborn@gmail.com email to act as both the sender and the recipient than this would be incorrect assumption here. Any chance you're confusing the User ID with the wealth-lab.com user account?
profile picture

haoborn2013

#7
The email address I want to use is the Aaronoborn@gmail.com. you are correct i had the haoborn2013 in there, that's my username for WL. I just tried that today. Previously I had used my gmail in both places like you mentioned above. So I guess that would mean the aaronoborn@gmail.com would be both sender and receiver. But I still get the exact same error.
profile picture

Eugene

#8
Assuming that you've double checked your password, enabled less secure apps and your GIGO issue with the wealth-lab.com account has been fixed, my only remaining suggestion will be to check all of your firewall and antivirus software and greenlist the WealthLabPro.exe communication on ports 465/587. It's a really possible case that Outlook is allowed to send by your firewall/AV while other programs are not.

Good luck!
profile picture

Cone

#9
1. Use Port 587
2. But most importantly, you need to configure your gmail to allow less secure apps
This page has a link to toggle that setting. https://support.google.com/accounts/answer/6010255
profile picture

haoborn2013

#10
@Eugene, I will double check again. I'm wondering if this being my work computer has it's own firewall. I'm not sure how to greenlist the ports but I'll look that up. Maybe I'll try my outlook email instead of gmail.

@cone I have done both of those things already. Thank you though!
profile picture

Eugene

#11
QUOTE:
I'm not sure how to greenlist the ports but I'll look that up.

It all depends on your A/V and firewall software so you're better off talking to your IT person.

QUOTE:
Maybe I'll try my outlook email instead of gmail.

If I'm right, this is hardly going to help. I'm talking about some smart rule like "allow access to STMP/IMAP ports for known apps like Outlook, Mail or Thunderbird and block suspicious/unknown apps by default". Just for example:

https://kc.mcafee.com/corporate/index?page=content&id=KB50707
https://www.avira.com/en/support-for-home-knowledgebase-detail/kbid/935

QUOTE:
I'm wondering if this being my work computer has it's own firewall.

Without a doubt, there is a firewall in your corporate network environment.
profile picture

haoborn2013

#12
Thank you again Eugene. I'm going to call my IT person. It may just be they won't allow it, if that is the case I will attempt the same process on a personal computer, which would just have basic windows firewalls. I'll give this all a try and see if I can get it working. Thanks again for your help. I wish Wealthlab had more updates too! I hope Fidelity doesn't discontinue it.
profile picture

Eugene

#13
QUOTE:
if that is the case I will attempt the same process on a personal computer, which would just have basic windows firewalls.

You should have success with this. By default, Windows 10's firewall isn't configured to block 3rd party outgoing connections to SMTP/IMAP ports the way a corporate firewall (like in your company) can be set.

Glad to help!
profile picture

haoborn2013

#14
@Eugene, Great news! It worked on my personal computer. The firewall I'm guessing was the issue with my work comp. Once I had Gmail allow less secure it worked just fine for the test email. I am going to see if it sends real alert emails tomorrow. Thanks again for the help!
Also a question on that note. If I have a strategy streaming will WL only track it and send alerts if the computer is logged into to WL. i.e. if I have the strategy activated and auto-email selected and then close this computer and check my email elsewhere, will I get an alert if a trade was created? Or do I need to have the system running the program for it to track and send real-time alerts?

Thanks again for all your time and help!
profile picture

Eugene

#15
Aaron, glad to help.

Re: your followup question. We have a policy on always keeping the forum searchable, organized and accessible. We clean it from duplicate posts, rename threads to make sure they express the gist of the question (and can be easily found by others) etc. Since the current topic title is very specific and targets Gmail SMTP (and just it), I'd appreciate if you search the forum for a more closely matching discussion to ask your general question re: WLP capabilities.

Thanks.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).