Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to get email notification work
#6
(02-24-2011, 05:56 PM)Doudoux Wrote: hy

you must configure your SMTP server.

in php.ini
Code:
SMTP = localhost
; http://php.net/smtp-port
smtp_port = 25

; For Win32 only.
; http://php.net/sendmail-from
sendmail_from = you@yourdomain

or add this line in inc.Settings.php file
PHP Code:
ini_set('sendmail_from''you@yourdomain');
ini_set('SMTP''localhost');
ini_set('smtp_port''25'); 

doudoux

Hi Everybody!

The proposed modification (I tried editing php.ini file) doesn't fix the problem with Notifications via email for me.

I believe details are important... below are mine:
1. OS: Debian Lenny
2. Version of letoDMS: 3.0 (retrieved from Downloads on 06/04/2011)
3. The server hosting letoDMS doesn't have FQDN -- it is set up for experimental purposes only.
4. The server hosting letoDMS can run an SMTP session (using telnet) with the ISP's SMTP server via port 25. (no authentication is in place). This means that SMTP server does not reject an incoming connection from the letoDMS server.

I'm not good at PHP but I have an experience of setting up Moodle server on similar environment. It is also PHP + MySQL based webserver. It allows to specify an SMTP server using web interface so it works like a charm...

My question: should I consider obtaining FQDN before trying to setup Notifications? Is there any workarounds of using existing SMTP server?

Thanks.

UPDATE: My latest finding was http://reflective.me/blog/matthew-clark/...nd-quickly blog where I FOUND the solution. Thanks to Matthew Clark.

--
Simon
Reply


Messages In This Thread
how to get email notification work - by hani133 - 02-24-2011, 12:20 PM

Forum Jump:


Users browsing this thread: