You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2009-08-19 00:16:41

emerson.vix
Member
Registered: 2009-08-18
Posts: 3

Configuring notifications by email.

First of all sorry by my english.

My version of the GLPI is the 0.72.1 and i try to use the notification function (Setup - Notifications - Setup) for send emails.

I use a local SMTP server (PostCast Server) installed on the same server of GLPI (Win2003 environment with XAMPP).

My configuration:

Use Email Follow-ups                                  Yes 
Administrator Email                                    myadmin@xxxx.yyy   
Administrator reply-to Email (if needed)       myadmin@xxxx.yyy
Email Signature                                          IT
Add a link to GLPI in emails                         Yes 
Base URL used                                            http://www.it.xxxx.yyy
Recalls Alarms on cartridges                        Never
Recalls Alarms on consumables                    Never
Alarms on expired licenses                           No 
 
Use a SMTP server to send emails                SMTP
SMTP Host                                                  MyIP
SMTP Login (optional)                                  helpdesk@xxxx.yyy
SMTP Password (optional)                            xxxx


When i try the button "Test to send a email to the administrator" the GLPI always return the message "Failed to send email to administrator".

My SMTP server works fine (another application usually sent emails through it).

Where am I missing?

Offline

#2 2009-08-19 06:18:36

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: Configuring notifications by email.

See your mail serveur log ?

+


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#3 2009-08-19 17:14:38

emerson.vix
Member
Registered: 2009-08-18
Posts: 3

Re: Configuring notifications by email.

Thanks for your attention. This is an excellent software.

The log does not show anything. I used the debug mode and no error message was displayed.

I have another application in PHP that sends e-mails normally, is possible that the error was caused by some setting in php.ini ?

My setup is correct?

Offline

#4 2009-08-20 15:07:37

adrianmarsh
Member
Registered: 2006-08-28
Posts: 379

Re: Configuring notifications by email.

You're using authentication for SMTP right?

My first step would be to use another app to send a testmail, directly to port 25 of MyIp and check that that username/pass can send emails (I know.. but start at the beginning... the PHP implementation of sending emails been around a long time.. so unlikely to be a programming bug).

Once you know 100% that that works the next step would be to try - if possible - turning off authentication on the server.

The SMTP server must surely have some logs?

Another thing you can try, is running wireshark on the server, and listen in on that IP/port and watch to see what happens within the SMTP protocol.


GLPI 0.83.91/CENTOS5 - OCS 1.01/Win2003

Offline

#5 2009-08-20 15:09:11

adrianmarsh
Member
Registered: 2006-08-28
Posts: 379

Re: Configuring notifications by email.


GLPI 0.83.91/CENTOS5 - OCS 1.01/Win2003

Offline

#6 2009-08-20 21:57:54

emerson.vix
Member
Registered: 2009-08-18
Posts: 3

Re: Configuring notifications by email.

Thanks for the assistence.

The problem was solved.

I try explain with my poor english: the name of  the SMTP server in php.ini must be exactly the same name of PostCast server.

The name of my PostCast server was the same name of the machine and the name of SMTP server in php.ini was "localhost".

I change the names and everything works fine now.

Offline

#7 2013-08-19 11:32:20

bharatanet.com
Member
Registered: 2013-08-19
Posts: 2

Re: Configuring notifications by email.

if you have successfully tested doing "SMTP test", please make sure the username and password is blank
smtp-notification-001.jpg

Offline

Board footer

Powered by FluxBB