Need to run SMTP on localhost with October CMS / Laravel

1.5k views Asked by At

I have an instance of October CMS running on my localhost, and I need to send emails to various internal addresses (within the company I work for) via the Mail configuration using SMTP Method (as requested by my superior). I had emails working fine using the PHP Mail Method with the addition of SSMTP to my system. However, for me to do this I was tunneling emails through my personal Gmail account, and we certainly don't want to do that! (By "we" I really mean "I") So, if anyone has any clues as to how I should go about this, I would greatly appreciate it!

1

There are 1 answers

0
Félix Desjardins On

First of all, create your email server.

Windows -> hMailServer

Others systems (Linux) : there are many options, find your best. Google it.

After, foward your port. Check this website, many ads.

Finally, October part. Go to config/mail.php. And change your SMTP server setting to yours.

But, I don't recommand this. Why? Because fowarding port can be dangerous, sometimes. You also have to turn your computer on if people want to reply you.

Instead, use your compagny mail server and change the setting to your compagny. Simple as that (-:.

Hope this help,

FelixINX