• Resolved thebigdotco

    (@thebigdotco)


    In notifications, the ‘From’ email really needs to be from the sending domain to avoid spam filters. I know you can add in a ‘Reply-to’ as a function filter_email_headers but is there a way to do it dynamically so that the Reply-to is the sender’s email as specified on the form?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author fabianlindfors

    (@fabianlindfors)

    Hi!

    You can use af_get_field( 'FIELD_NAME' ) inside offilter_email_headers` to get a submitted form value and use it for the Reply-To header.

    Does that work?

    I’m just amazed that this is not a part of the form admin, as Big guns like Hostinger and many many webhosting not allow to smtp from: another mailaccount / mailaddress that not resident on the same domain. You cant have the visitors from: populated in the headers, but as a go-around, the reply-to headers works, and answer your client is possible without “anwer yourself” in your email client.

    Plugin Author fabianlindfors

    (@fabianlindfors)

    Hej, Jonas!

    That’s a very fair point and I have considered adding the field as an admin setting. Because I try to be conservative and keep the admin panel simple I’ve been holding off though, waiting to see if it’s a common request. So far it hasn’t been entirely common but that could definitely change.

    I took this opportunity to add reply-to as an example in the documentation. Soon I’m also launching a new FAQ section in the documentation soon and will definitely include that there as well!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Reply-to’ is closed to new replies.