Open link in a new tab

Content

Expand project menu

V 6.0 SMTP error - Connection refused.

I am getting the following error.

An error occurred while sending mail (Connection refused - connect(2) for "localhost" port 25)

My configuration.ylm file has the following SMTP set up.

  1. production:
    email_delivery_method: :smtp
    smtp_enable_startttls_auto: true
    smtp_address: smtp.gmail.com
    smtp_port: 587
    smtp_domain: smtp.gmail.com
    smtp_authentication: plain
    smtp_user_name: “my gmail email address”
    smtp_password: “my password”

This instalation was done using a bitnami vurtual server. Everything was installed very easily and I had no issues.

I attempted a telnet command. sudo telnet www.google.com 25 and an error resulted " -bash: telnet: command not found

I also attempted a netstat -l and this gave me a table of data . There are no ports listed.

I need a little help. How can I get smtp working with Open Project V6?