Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Email hook fails to grab emailsender system setting #67

Closed
osabate opened this issue Oct 30, 2015 · 4 comments
Closed

Email hook fails to grab emailsender system setting #67

osabate opened this issue Oct 30, 2015 · 4 comments

Comments

@osabate
Copy link

osabate commented Oct 30, 2015

Unless specified system reports the following error on the Error Log:

[FormIt] An error occurred while trying to send the email. SMTP Error: data not accepted.SMTP server error: DATA END command failed Detail: 5.7.60 SMTP; Client does not have permissions to send as this sender SMTP code: 550

@sdrenth
Copy link

sdrenth commented Dec 11, 2015

Hi @osabate,

Could you provide some more information about this issue?

  • What FormIt version are you using?
  • Could you show me your FormIt snippet call?
  • Have you tried setting emailsender to another emailadres?

@osabate
Copy link
Author

osabate commented Dec 11, 2015

  1. I believe FormIt 2.2.7.
  2. Something like this:
    [[!FormIt?
    &hooks=email,redirect
    &validate=username:blank,confirmemail:blank,year:blank,email:required
    &redirectTo=971
    &emailTpl=Support
    &emailFrom=do-not-reply@domain.com
    &emailSubject=Support
    &emailTo=support@domain.com
    ]]
  3. I believe I resolved the issue by setting the parameter value under System Settings instead of in the snippet since any values set on `emailsender would be ignored.

@joeke
Copy link

joeke commented Sep 15, 2016

@osabate I think this is more of an issue with the SMTP settings than with FormIt. Is the do-not-reply@domain.com address allowed to send mail via your SMTP? If not, then perhaps set this e-mailaddress as the emailReplyTo and a valid e-mailaddress (that is allowed by your SMTP) as the emailFrom parameter.

@osabate
Copy link
Author

osabate commented Sep 15, 2016 via email

@joeke joeke closed this as completed Sep 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants