0
Hello, I am trying to send notifications in my Rails application, in development mode. With GMAIL, everything ok, but I’m not able to use with the hosting I have at Bluehost Brasil. I have tried to change several parameters, currently it is like this:
config.action_mailer.smtp_settings = {
:address => "smtp.meudominiobluehostbrasil.com.br",
:port => 587,
:user_name => 'user@dominio',
:password => 'pass'
}
From now on, thank you for all your help!
Would not be
mail.SEUSITE.com.br
? I never used Bluehost br, but I think it’s the same thing of the gringo– Guilherme Nascimento
I tried with MAIL; STMP; Domain only (according to knowledge base, in the case of my hosting, because it is windows). "For Windows Hosting - Plesk *** For POP/IMAP Account Type: POP/IMAP Email Inbox Server: o-your-domain-name (eg demomonkey.org) Email Outbound Server: o-your-domain-name (eg demomonkey.org) Input Server Port Number: 110 (if using POP) / 143 (if using IMAP) Output Server Port Number (SMTP): 587 *Please use Email Output Server Authentication
– user3033607
http://kb.br.bluehost.com/configuracao-de-cliente-de-e-mail-popimap/
– user3033607
Yours is "For Windows Hosting - Plesk Emails" ?
– Guilherme Nascimento
Exactly dear friend. My hosting is windows.
– user3033607
I don’t know if you can help us, but in Gmail, I needed to change a configuration, allowing less secure apps to access the account.
– user3033607
https://support.google.com/accounts/answer/6010255?hl=pt-BR
– user3033607
If it’s windows do so:
:address => "meudominiobluehostbrasil.com.br",
– Guilherme Nascimento
I haven’t tried it yet. I’ll take the test. Thank you very much.
– user3033607
Rectifying what I said in the comment above, I had already tried and tried again. It may be some restriction of hosting, as gmail blocks, if we don’t change the app access setting ?
– user3033607
Does the application have log? Take the log and put it here to see.
– Guilherme Nascimento
The log is enabled, but in the file there is no error related to sending the email. Only the line that sends the email. With GMAIL working, log lines are exactly the same.
– user3033607