getgrav / grav-plugin-email

Grav Email Plugin
http://getgrav.org
MIT License
37 stars 29 forks source link

Expected response code 354 but got code "503" #129

Closed aklouie closed 1 year ago

aklouie commented 4 years ago

Hello. Trying to send email via SMTP. However, I keep getting the error:

Expected response code 354 but got code "503", with message "503 RCPT first (#5.5.1)

Here's what I have from my user/config/plugins/email.yaml config:

enabled: true
from: contactus@client.com
from_name: 'Contact Form'
to: me@agency.com
to_name: null
queue:
  enabled: false
  flush_frequency: '* * * * *'
  flush_msg_limit: 10
  flush_time_limit: 100
mailer:
  engine: smtp
  smtp:
    server: smtphost.sendio.com
    port: 25
    encryption: none
    user: contactus@client.local
    password: '**********'
  sendmail:
    bin: '/usr/sbin/sendmail -bs'
content_type: text/html
debug: true
charset: null
cc: null
cc_name: null
bcc: null
reply_to: null
reply_to_name: null
body: null

Any ideas? Funny thing is the contact form will send using Sendmail, but only to my agency's inbox.

mahagr commented 4 years ago

https://hostpapasupport.com/error-503-valid-rcpt-command-must-precede-data/