
Rommel Albuja wrote:
I want to know if it's possible sending admin notification via gmail to another account. I have setting many posibilities but anyone works, because I receive always same response.
************************************************************************************************************* Traceback: ERROR: OTRS-CGI-01 Perl: 5.8.8 OS: MSWin32 Time: Wed Oct 8 21:03:11 2008
Message: Can't connect to gmail-smtp-msa.l.google.com: Bad file descriptor!
Traceback (2092): Module: Kernel::System::Email::SMTP::Send (v1.21) Line: 79 Module: Kernel::System::Email::Send (v1.44) Line: 553 Module: Kernel::Modules::AdminEmail::Run (v1.29) Line: 111 Module: Kernel::System::Web::InterfaceAgent::Run (v1.33) Line: 824 Module: ModPerl ::ROOT ::ModPerl ::Registry::C_3a_OTRS_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 47 Module: (eval) (v1.87) Line: 203 Module: ModPerl::RegistryCooker::run (v1.87) Line: 203 Module: ModPerl::RegistryCooker::default_handler (v1.87) Line: 169 Module: ModPerl::Registry::handler (v1.99) Line: 30
My configuration is:
# SendmailModule $Self->{'SendmailModule'} = 'Kernel::System::Email::SMTP'; $Self->{'SendmailModule::Host'} = 'gmail-smtp- msa.l.google.com'; or $Self->{'SendmailModule::Host'} = 'smtp.gmail.com'; $Self->{'SendmailModule::Port'} = '465';
Have you tried port 587? Should both work, but it's worth a try.
$Self->{'SendmailModule::AuthUser'} = 'user.name';
Google's instructions say you need to use your full address: user.name@gmail.com
$Self->{'SendmailModule::AuthPassword'} = 'userpassword';
Double quotes and simple quotes seems to be no difference for setting up.
That's correct. It's Perl syntax and since you're not using variables on the right hand side the quote type doesn't matter.
Yesterday I was trying to connect with EVOLUTION app to my gmail account and it works. I suppose configuration with OTRS has same logical function but I am wrong.
My environment is Windows Vista Home, I no have another mail server such as gmail.
Doesn't your ISP provide access to an SMTP server? And what version of OTRS are you running? Maybe a later version fixes this problem. Nils Breunese.