Difference between revisions of "Can't send email"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 39: Line 39:
* <%= last_name %>  
* <%= last_name %>  
* <%= full_name %>
* <%= full_name %>
<br>
===Timeout::Error (execution expired)  /usr/lib/ruby/1.8/timeout.rb:54:in `open'===
Open port 25 to allow SMTP connection.

Revision as of 17:29, 9 January 2008

This error can appear when trying to send email from Email section or when user registers:

We're sorry, but something went wrong.
We've been notified about this issue and we'll take a look at it shortly.



Errors

Net::SMTPAuthenticationError (535 auth failure)

Net::SMTPAuthenticationError (535 invalid user ID or password)

On both of these errors:

  1. Check your SMTP server details
  2. Try to use another SMTP server
  3. Try default settings:
SMTP Server: smtp.gmail.com 
Domain: localhost.localdomain
Login: kolmitest
Password: kolmitest99

NameError (undefined local variable or method `xxxxxx' for #)

Do not add variables which are not from this list:

  • <%= server_ip %>
  • <%= device_type %>
  • <%= device_username %>
  • <%= device_password %>
  • <%= login_url %>
  • <%= login_username %>
  • <%= login_password %>
  • <%= username %>
  • <%= first_name %>
  • <%= last_name %>
  • <%= full_name %>


Timeout::Error (execution expired) /usr/lib/ruby/1.8/timeout.rb:54:in `open'

Open port 25 to allow SMTP connection.