An error occurred while sending mail (end of file reached)
Added by sandeep sp over 13 years ago
Hi All,
I am in the process of email configuration for redmine. i am following this How to Link . HowTo_configure_Redmine_to_mail_to_MS_Exchange_server. but, the "Test mail" is throwing an error message " An error occurred while sending mail (end of file reached) ". My configuration.yml is
production: delivery_method: :smtp smtp_settings: address: Mail_Box_Address port: 25
i am able to ping my Mail_Box_Address.
Redmine Version is : 1.1.1 (2011-01-30)
Guys, please help me out .
Regards
Sandeep S.P
Replies (8)
RE: An error occurred while sending mail (end of file reached) - Added by Ivan Cenov over 13 years ago
Try this:
production: delivery_method: :smtp smtp_settings: address: "my.mailserver.com" port: 25 domain: "mycompany.com"
RE: An error occurred while sending mail (end of file reached) - Added by sandeep sp over 13 years ago
Hi Mr Ivan, Thanks for the reply.
I Did tried the above step by adding the domain name, but still the same error has been observed.
Any other way of getting rid of this error?
Thanks in advance .
RE: An error occurred while sending mail (end of file reached) - Added by Ivan Cenov over 13 years ago
This is my configuration. I had missed the domain: line and it didn't work. Then I added the domain: line and it began to work.
Did you put quotes around the address and domain names (" ... ") ?
RE: An error occurred while sending mail (end of file reached) - Added by sandeep sp over 13 years ago
No, i Didn't included any quotes for the domain names and address.
What should be the domain name ? is it the company name or the exchange server name ?
is this stuff anything to do with proxy settings ?
RE: An error occurred while sending mail (end of file reached) - Added by Ivan Cenov over 13 years ago
Then include quotes.
This way:
production: delivery_method: :smtp smtp_settings: address: "my.mailserver.com" port: 25 domain: "mycompany.com"and not this way:
production: delivery_method: :smtp smtp_settings: address: my.mailserver.com port: 25 domain: mycompany.comThe first variant works for me. I didn't tried the second one.
RE: An error occurred while sending mail (end of file reached) - Added by Ivan Cenov over 13 years ago
What should be the domain name ? is it the company name or the exchange server name ?
In our configuration, this is the account name of our company with our ISP provider that maintains our mailboxes.
You may want to talk with your admin about your configuration.
RE: An error occurred while sending mail (end of file reached) - Added by Dale Newman over 8 years ago
Adding the double quotes worked for me. Thanks.
RE: An error occurred while sending mail (end of file reached) - Added by Alikhan Askarov over 4 years ago
I had the same problem, I had checked the configuration.yml file, checked for indentations, added both quotes (single and double) -> none worked. Some mails had been sent, some werent. Then i found on the Internet an advice -> Check your mail server. Because my mail server is handled by system administrator, i said him to check whether it has errors. He had fixed it, said that problem were in mail migration. Hope this helps someone!