Skip to content

Setting up YouPHPTube to send emails

YouPHPTube edited this page Jan 15, 2019 · 5 revisions

You have two options for this.

  1. You can use an email server for sendmail function as Postfix, try this tutorial

  2. or you can use an external SMTP credentials as Gmail

A little-known feature about Gmail and Google Apps email is Google's portable SMTP server. Instead of having to manage your own outgoing mail server, you can simply configure Google's SMTP server.

You can find this configuration on Menu -> Site Configurations -> Advanced Configurations

Gmail's Default SMTP Settings

  • Gmail SMTP server address: smtp.gmail.com
  • Gmail SMTP username: Your Gmail address (e.g. [email protected])
  • Gmail SMTP password: Your Gmail password
  • Gmail SMTP port (TLS): 587
  • Gmail SMTP port (SSL): 465
  • Gmail SMTP TLS/SSL required: yes

Allow less secure apps to access your Gmail account

To make Gmail allow you to use your account as an SMTP server, disable this security feature:

  1. Sign in to Gmail
  2. Click here to access Less Secure App Access in My Account.
  3. Next to “Allow less secure apps: OFF,” select the toggle switch to turn ON.
Clone this wiki locally