Advertisement:

Author Topic: How to configure SMF to send mail via smtp on LAN?  (Read 4362 times)

Offline gw08bowmanscott

  • Newbie
  • *
  • Posts: 3
How to configure SMF to send mail via smtp on LAN?
« on: February 16, 2012, 10:07:13 AM »
I have recently install SMF into XAMPP 1.7.7 on a PC at work.

Im running the forum on a LAN. The PC its on has full admin.

I want to be able to inform users when new topics are posted via automated email notifications, so they dont have to click on "notify" for every forum section etc.

I have access to a SSL smtp relay.

I've done a lot of trawling through the net to find the right way to config smf or xampp to allow the mail to send but havent had any luck.

Currently im just testing this using the "notify" option to keep it simple. I will look at other ways of sending the mail without using the notify options later.

I have entered my smtp details into the mail settings in the smf ui. I have looked at the php file in xamp as well but to be honist i come over in a bit of a cold sweat when I look at it.


Is there an idiots guide to setting up automated mailing from smf?
Can someone point me in the right direction?

Thanks in advance for any light someone can shine.

Scott

Offline 青山 素子

  • Server Team
  • SMF Super Hero
  • *
  • Posts: 16,541
  • 戦場ヶ原、蕩れ!
    • motokochan on GitHub
    • @motokochan on Twitter
    • Animeneko Network
Re: How to configure SMF to send mail via smtp on LAN?
« Reply #1 on: February 16, 2012, 11:48:59 AM »
In SMF, if you choose the SMTP method and enter in the correct details, it should send using SMTP. There should be no need for editing the PHP config file.
Motoko-chan
Director, Simple Machines

Just like... making of enemies / 負ける気しない やめるきない / You are cool but fool - Charisma.com 『HATE』

Note: I am not a member of the Simple Machines Forum project.


Offline gw08bowmanscott

  • Newbie
  • *
  • Posts: 3
Re: How to configure SMF to send mail via smtp on LAN?
« Reply #2 on: February 17, 2012, 04:18:33 AM »
Its not working that way. I thought it was because the smtp relay I have is SSL?


Offline 青山 素子

  • Server Team
  • SMF Super Hero
  • *
  • Posts: 16,541
  • 戦場ヶ原、蕩れ!
    • motokochan on GitHub
    • @motokochan on Twitter
    • Animeneko Network
Re: How to configure SMF to send mail via smtp on LAN?
« Reply #3 on: February 17, 2012, 12:38:23 PM »
If your relay requires connection with SSL, that complicates things. Does it also need SMTP AUTH?
Motoko-chan
Director, Simple Machines

Just like... making of enemies / 負ける気しない やめるきない / You are cool but fool - Charisma.com 『HATE』

Note: I am not a member of the Simple Machines Forum project.


Offline gw08bowmanscott

  • Newbie
  • *
  • Posts: 3
Re: How to configure SMF to send mail via smtp on LAN?
« Reply #4 on: February 20, 2012, 04:02:54 AM »
yes i need to provide authentication to the ssl smtp server, if thats what you mean?

Offline 青山 素子

  • Server Team
  • SMF Super Hero
  • *
  • Posts: 16,541
  • 戦場ヶ原、蕩れ!
    • motokochan on GitHub
    • @motokochan on Twitter
    • Animeneko Network
Re: How to configure SMF to send mail via smtp on LAN?
« Reply #5 on: February 20, 2012, 02:48:45 PM »
See if the settings information here will help. It's pre-filled for Google's servers, but replace with the information for the relay you need to use.
Motoko-chan
Director, Simple Machines

Just like... making of enemies / 負ける気しない やめるきない / You are cool but fool - Charisma.com 『HATE』

Note: I am not a member of the Simple Machines Forum project.