Setting up SMTP for localhost web server for sending free emails using gmail
Page 1 of 1
Setting up SMTP for localhost web server for sending free emails using gmail
Here is what you should type to open up your php.ini file so that you can edit the smtp mail settings
now click on the magnifying glass and find the text smtp
keep looking until you find SMTP = localhost
Now put in your details.
Now restart your php service or restart your pc if you need to make sure the services have been restarted naturally (if you prefer).
now test your mail gets sent.
For more info and https://jnet.forumotion.com/t567-setting-up-mail-server-on-linux-localhost?highlight=mail+alias
examples http://www.serversmtp.com/en/smtp-gmail-configuration
- Code:
sudo gedit /etc/php5/apache2/php.ini
now click on the magnifying glass and find the text smtp
keep looking until you find SMTP = localhost
Now put in your details.
Now restart your php service or restart your pc if you need to make sure the services have been restarted naturally (if you prefer).
now test your mail gets sent.
- Gmail SMTP server name: smtp.gmail.com
- Gmail SMTP username: your Gmail address
- Gmail SMTP password: your password
- Gmail SMTP port: 465
- Code:
sudo apt-get install sendmail
- Code:
sudo gedit /etc/ssmtp/ssmtp.conf
- Code:
sudo gedit /etc/ssmtp/revaliases
For more info and https://jnet.forumotion.com/t567-setting-up-mail-server-on-linux-localhost?highlight=mail+alias
examples http://www.serversmtp.com/en/smtp-gmail-configuration
Similar topics
» Setting Up Mail Server On Linux Localhost
» Setting up bluetooth for linux for sending files over BT
» Linux FTP Server Secuity setting up vsftpd for no emails
» Prevent Unwanted Cron Emails From Mail Server On Linux
» how to encrypt emails using gmail and other email providers
» Setting up bluetooth for linux for sending files over BT
» Linux FTP Server Secuity setting up vsftpd for no emails
» Prevent Unwanted Cron Emails From Mail Server On Linux
» how to encrypt emails using gmail and other email providers
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|