sending mail in OTRS

Moderator: crythias

Locked
tina
Znuny newbie
Posts: 48
Joined: 10 Apr 2012, 17:59
Znuny Version: 3.2.1
Real Name: boutayna

sending mail in OTRS

Post by tina »

Hello,
I have just installed OTRS 3.2.1 in my computer and I use lotus like Mail Server,
I want to configure mailing in OTRS,should I edit a code source or there is an interface for that?
And tell me please how to do it?
thank you
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: sending mail in OTRS

Post by jojo »

Read the admin manual (http://doc.otrs.org)


Outbound mail can be done via sendmail, SMTP, SMTPS, SMTPTLS
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
tina
Znuny newbie
Posts: 48
Joined: 10 Apr 2012, 17:59
Znuny Version: 3.2.1
Real Name: boutayna

Re: sending mail in OTRS

Post by tina »

I followed the instructions in the admin manual,
but the ERROR 500 appeared in navigator,
and OTRS don't run anymore even if I re-start apache the error still appear,
can you help me please.


ERROR 500:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@somenet.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: sending mail in OTRS

Post by jojo »

What did you do exactly? What is the apache error log telling?

What is the output of bin/otrs.CheckModules.pl
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
tina
Znuny newbie
Posts: 48
Joined: 10 Apr 2012, 17:59
Znuny Version: 3.2.1
Real Name: boutayna

Re: sending mail in OTRS

Post by tina »

the log Apache:
[Mon Apr 16 09:31:21 2012] [error] [Mon Apr 16 09:31:21 2012] -e: No SendmailModule::Host found in Kernel/Config.pm at C:/PROGRA~2/OTRS/OTRS//Kernel/System/Email/SMTP.pm line 47.\n\t(in cleanup) Can't locate object method "EventHandlerTransaction" via package "Kernel::System::Ticket" at C:/PROGRA~2/OTRS/OTRS//Kernel/System/Ticket.pm line 7209.\n
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: sending mail in OTRS

Post by jojo »

It seems that you switched to SMTP but did not configure it as SendmailModule::Host is not set
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
tina
Znuny newbie
Posts: 48
Joined: 10 Apr 2012, 17:59
Znuny Version: 3.2.1
Real Name: boutayna

Re: sending mail in OTRS

Post by tina »

How can I fix this error,should I reinstall OTRS?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: sending mail in OTRS

Post by jojo »

edit /opt/otrs/Kernel/Config/Files/ZZZAuto.pm and delete the line which switches on the SMTP Module
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
tina
Znuny newbie
Posts: 48
Joined: 10 Apr 2012, 17:59
Znuny Version: 3.2.1
Real Name: boutayna

Re: sending mail in OTRS

Post by tina »

Thank you so much,OTRS run perfectly now
Locked