Send test email give error - "An error occurred while sending mail (end of file reached)"
Added by Boris Lysynski about 12 years ago
From configuration.yml
# default configuration options for all environments default: # Outgoing emails configuration (see examples above) email_delivery: delivery_method: :smtp smtp_settings: address: pod51019.outlook.com port: 587 domain: pod51019.outlook.com # authentication: :login # user_name: "redmine@example.net" # password: "redmine"
from (Windows:)
set RAILS_ENV=production
ruby script/about
Environment:
Redmine version 2.2.2.stable
Ruby version 1.9.3 (i386-mingw32)
Rails version 3.2.11
Environment production
Database adapter SQLite
Redmine plugins:
no plugin installed
New installation using Microsoft Web Platform Installer, Helicon Zoo feed;
O/S:
Windows Server 2008 R2 Standard
Service Pack 1
Let me know if you need anything else to help resolve this.
Thanks
Replies (2)
RE: Send test email give error - "An error occurred while sending mail (end of file reached)"
-
Added by Paresh Patel about 12 years ago
- default configuration options for all environments
default: # Outgoing emails configuration (see examples above)
email_delivery:
delivery_method: :sendmail
smtp_settings:
address: 127.0.0.1
port: 587
domain: pod51019.outlook.com
try this configuration then rply me any problem
RE: Send test email give error - "An error occurred while sending mail (end of file reached)"
-
Added by Boris Lysynski about 12 years ago
Thanks for the config but Redmine now throws error 500
500 Error Helicon Zoo module has caught up an error. Please see the details below. Worker Status Online Windows error The I/O operation has been aborted because of either a thread exit or an application request. (ERROR CODE: 995) Internal module error message: ZooApplication I/O Error. type: ZooException file: Job.cpp line: 228 version: 2.0.79.342 STDERR [tid-5624292] (C:/Redmine/Redmine/config/configuration.yml): couldn't parse YAML at line 108 column 27 (Psych::SyntaxError) C:/Ruby19/lib/ruby/1.9.1/psych.rb:154:in `parse' C:/Ruby19/lib/ruby/1.9.1/psych.rb:154:in `parse_stream' C:/Ruby19/lib/ruby/1.9.1/psych.rb:125:in `parse' C:/Ruby19/lib/ruby/1.9.1/psych.rb:112:in `load' C:/Ruby19/lib/ruby/1.9.1/psych.rb:229:in `load_file' C:/Redmine/Redmine/lib/redmine/configuration.rb:84:in `load_from_yaml' C:/Redmine/Redmine/lib/redmine/configuration.rb:41:in `load' C:/Redmine/Redmine/lib/redmine/configuration.rb:65:in `[]' C:/Redmine/Redmine/config/initializers/30-redmine.rb:7:in `<top (required)>' C:/Redmine/Redmine/vendor/gems/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:245:in `load' C:/Redmine/Redmine/vendor/gems/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:245:in `block in load' C:/Redmine/Redmine/vendor/gems/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:236:in `load_dependency' C:/Redmine/Redmine/vendor/gems/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:245:in `load' C:/Redmine/Redmine/vendor/gems/ruby/1.9.1/gems/railties-3.2.11/lib/rails/engine.rb:588:in `block (2 levels) in <class:Engine>' C:/Redmine/Redmine/vendor/gems/ruby/1.9.1/gems/railties-3.2.11/lib/rails/engine.rb:587:in `each' C:/Redmine/Redmine/vendor/gems/ruby/1.9.1/gems/railties-3.2.11/lib/rails/engine.rb:587:in `block in <class:Engine>' C:/Redmine/Redmine/vendor/gems/ruby/1.9.1/gems/railties-3.2.11/lib/rails/initializable.rb:30:in `instance_exec' C:/Redmine/Redmine/vendor/gems/ruby/1.9.1/gems/railties-3.2.11/lib/rails/initializable.rb:30:in `run' C:/Redmine/Redmine/vendor/gems/ruby/1.9.1/gems/railties-3.2.11/lib/rails/initializable.rb:55:in `block in run_initializers' C:/Redmine/Redmine/vendor/gems/ruby/1.9.1/gems/railties-3.2.11/lib/rails/initializable.rb:54:in `each' C:/Redmine/Redmine/vendor/gems/ruby/1.9.1/gems/railties-3.2.11/lib/rails/initializable.rb:54:in `run_initializers' C:/Redmine/Redmine/vendor/gems/ruby/1.9.1/gems/railties-3.2.11/lib/rails/application.rb:136:in `initialize!' C:/Redmine/Redmine/vendor/gems/ruby/1.9.1/gems/railties-3.2.11/lib/rails/railtie/configurable.rb:30:in `method_missing' C:/Redmine/Redmine/config/environment.rb:14:in `<top (required)>' C:\Redmine\Redmine/config.ru:3:in `require' C:\Redmine\Redmine/config.ru:3:in `block in <main>' C:/Redmine/Redmine/vendor/gems/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:51:in `instance_eval' C:/Redmine/Redmine/vendor/gems/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:51:in `initialize' C:\Redmine\Redmine/config.ru:1:in `new' C:\Redmine\Redmine/config.ru:1:in `<main>' C:/Zoo/Workers/ruby/lib/app.rb:79:in `eval' C:/Zoo/Workers/ruby/lib/app.rb:79:in `build_config_ru' C:/Zoo/Workers/ruby/lib/app.rb:24:in `build_app' C:/Zoo/Workers/ruby/lib/app.rb:16:in `initialize' C:/Zoo/Workers/ruby/lib/worker.rb:4:in `new' C:/Zoo/Workers/ruby/lib/worker.rb:4:in `initialize' C:/Zoo/Workers/ruby/zoorack.rb:30:in `new' C:/Zoo/Workers/ruby/zoorack.rb:30:in `<module:Zack>' C:/Zoo/Workers/ruby/zoorack.rb:12:in `<main>' Environment variables ALLUSERSPROFILE C:\ProgramData APPDATA C:\Windows\system32\config\systemprofile\AppData\Roaming APPL_PHYSICAL_PATH C:\Redmine\Redmine APPL_PHYSICAL_SHORT_PATH C:\Redmine\Redmine APPL_VIRTUAL_PATH /Redmine APP_POOL_CONFIG C:\inetpub\temp\apppools\Redmine6\Redmine6.config APP_POOL_ID Redmine6 COMPUTERNAME JUPITER ComSpec C:\Windows\system32\cmd.exe CommonProgramFiles C:\Program Files\Common Files CommonProgramFiles(x86) C:\Program Files (x86)\Common Files CommonProgramW6432 C:\Program Files\Common Files DEPLOY_FILE deploy.rb ERROR_LOG_DIR log FP_NO_HOST_CHECK NO GEM_HOME C:\Redmine\Redmine\vendor\gems\ruby\1.9.1 HOME C:\Redmine\Redmine HOST 127.0.0.1 LOCALAPPDATA C:\Windows\system32\config\systemprofile\AppData\Local NUMBER_OF_PROCESSORS 2 OS Windows_NT PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PORT %PORT% PROCESSOR_ARCHITECTURE AMD64 PROCESSOR_IDENTIFIER Intel64 Family 15 Model 4 Stepping 7, GenuineIntel PROCESSOR_LEVEL 15 PROCESSOR_REVISION 0407 PSModulePath C:\Windows\system32\WindowsPowerShell\v1.0\Modules\ PUBLIC C:\Users\Public Path C:\Ruby19\bin;C:\Program Files\Internet Explorer;C:\Perl\site\bin;C:\Perl\bin;C:\Perl64\site\bin;C:\Perl64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\PHP\v5.3;C:\Program Files (x86)\WinMerge ProgramData C:\ProgramData ProgramFiles C:\Program Files ProgramFiles(x86) C:\Program Files (x86) ProgramW6432 C:\Program Files RAILS_RELATIVE_URL_ROOT /Redmine REDMINE_LANG en SystemDrive C: SystemRoot C:\Windows TEMP C:\Windows\TEMP TMP C:\Windows\TEMP USERDOMAIN BLUELINE USERNAME JUPITER$ USERPROFILE C:\Windows\system32\config\systemprofile WORKER_REQUEST_TIMEOUT 1000 windir C:\Windows windows_tracing_flags 3 windows_tracing_logfile C:\BVTBin\Tests\installpackage\csilogfile.log Helicon Zoo engine settings appName rails.project appFullPath C:\Ruby19\bin\ruby.exe appDirectory C:\Redmine\Redmine appArguments C:\Zoo\Workers\ruby\zoorack.rb deployArguments transportName NamedPipe protocol fastcgi scriptProcessor ruby.1.9.rack errorLogDir C:\Redmine\Redmine\log postBufferDir watchFileChangesMask host 127.0.0.1 port %PORT% proxyPath minInstances 1 maxInstances 2 minRequestsPerWorker 3 maxRequestsPerWorker 15 portLower 49152 portUpper 65535 workerRequestTimeout 1000 timeLimit 0 postBuffer 1024 memoryLimit 0 gracefulShutdownTimeout 0 Web.config variables APPL_PHYSICAL_PATH C:\Redmine\Redmine APPL_PHYSICAL_SHORT_PATH C:\Redmine\Redmine APPL_VIRTUAL_PATH /Redmine DEPLOY_FILE deploy.rb ERROR_LOG_DIR log GEM_HOME C:\Redmine\Redmine\vendor\gems\ruby\1.9.1 HOME C:\Redmine\Redmine HOST 127.0.0.1 PORT %PORT% RAILS_RELATIVE_URL_ROOT /Redmine REDMINE_LANG en WORKER_REQUEST_TIMEOUT 1000 Request variables There is no variables
I also attached configuration,yml with the change you gave me.
Thanks for the help.
configuration.yml (7.05 KB) configuration.yml |