SMTP uses password authentication, and two factor auth sets up your account so that a password alone is not enough to access your account. I think this is unlikely to be a problem with mail.app, and deleting/re-creating the account is a red herring.

I tried to configure jenkins to send email notification with gmail as the POP provider but I could not succeed. SMTP server - pop.gmail.com Default user e-mail suffix - @gmail.com Sender E-mail Address - Foobar CI Use SMTP Authentication - yes User Name - your.email Password - p*****d Use SSL - yes SMTP Port - 995 Reply-To Address - noreply@gmail.com Charset - UTF-8 The old settings in Keychain can mess up the settings, actually observed earlier by jmegawarne. After I removed the old settings from Keychain, things started to work so clean up the old passwords from Keychain! And remember to input the app-specific password at least two times, not the Gmail password. Procedure Try this. Main page - Settings > Scroll down to Mail, Contacts, Calendars > Select Gmail> Ensure the account is switched on; then check the outgoing mail server is smtp.gmail.com Click on th earrow > The primary server should be smtp.gmail.com and is selected on. If you have problems in configuring the Email settings of Amac Keylogger for Mac, please refer to this Amac Keylogger Email configuration guide. We recommended Google Gmail for Amac Keylogger Email sending because Gmail is much more stable and supports larger attachment size. As, you are creating a POP3 account, so enter pop.gmail.com for incoming server. Enter smtp.gmail.com for outgoing server. Click on More Settings option. Navigate to Outgoing Server tab, click and select ‘My Outgoing Server (SMTP) requires Authentication‘ Click ‘Use Same Settings as My Incoming Server‘ option and select it. Nov 09, 2007 · SMTP Settings Lessons Learned I was having similar problems, but eventually got it to work. The trick is often in the "advanced" settings and "authentication". However, one of my colleagues who uses and iPhone and the same company email domain can't seem to get his to work right.

I want to send one mail to user whenever he/she register at my website. I have created my gmail account for that, I've tried many samples from net but i'm not able to sent email yet. Please help

Gmail SMTP servers are the outgoing servers, the SMTP server allows you to send emails through your Gmail accounts from any email program. To download Gmail from mail server to your PC, Mac, iPhone, iPad or other devices, you have to enable POP or IMAP in Gmail settings, then set up gmail with an email program via POP or IMAP on your device.

You can change preferences for the SMTP mail server you use to send messages, as directed by the provider of your email accounts. To change these preferences in the Mail app on your Mac, choose Mail > Preferences, click Accounts, click Server Settings, click the outgoing Account pop-up menu, then choose Edit SMTP Server List. Open Mail for me

Using gmail account in Mac OS high sierra 10.13.3 the settings are greyed and this is a new setting in IMAP account , and you can't add the settings it will set up by its own ( just for security and if a Mac user enters it incorrectly the mail connection will show red dots and apple mail application will not be connected to servers ) .