spree-contrib / spree_mail_settings

Mail setting functionality extracted from Spree.
http://guides.spreecommerce.org
BSD 3-Clause "New" or "Revised" License
28 stars 152 forks source link

'Test Mail error: no implicit conversion of nil into Hash' error #41

Closed justinemar closed 7 years ago

justinemar commented 7 years ago

Sending a test mail from the admin mail method settings interface shows this error Test Mail error: no implicit conversion of nil into Hash SMTP SETTING SMTP DOMAIN :gmail.com SMTP MAIL HOST: smtp.gmail.com SMTP PORT: 465 Connection : SSL auth type: login username: my account email password: my account password.

Different port and connection gets different error Test Mail error: SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: unknown protocol SMTP SETTING SMTP DOMAIN :gmail.com SMTP MAIL HOST: smtp.gmail.com SMTP PORT: 587 Connection : TLS auth type: login username: my account email password: my account password.

APohio commented 7 years ago

Edit: For anyone that can't find a way around it, downgrading to spree 3-0-stable is what I had to do, even though I have multiple sites on 3-1-stable which work perfectly fine.

I am getting this exact same error. Spent about 8 hours on it and cannot figure it out.

I even tried a completely fresh install and it does the same thing. Only ever on production though, development seems to work fine.

If anybody figures this out I would be extremely appreciative.

justinemar commented 7 years ago

I'm using spree 3.3.0 and rails 5.1.3 will the downgrade cost any problem to my store?, i haven't done much customization tho just the logo and added some roles.

justinemar commented 7 years ago

Heh, it suddenly worked i have no idea i was just trying my luck if it'll work and it did 👍