• Using v2.0.3 of Salesforce form and I’m having trouble modifying the “From” email address and name to the user that submitted the form.

    The code in this support ticket is not quite what I’m after.

    The email that is sent to the WP Admin is what needs to be modified. (within function salesforce_cc_admin)

    Rather than using WP Admin name and email, I’d prefer to use the name and email from the user that submitted the form.
    Thanks!

    http://wordpress.org/extend/plugins/salesforce-wordpress-to-lead/

Viewing 4 replies - 1 through 4 (of 4 total)
  • That’s a good way to have emails land in your spam folder (your server sending emails using someone else’s address looks fishy).

    It’s better to have it sent from the admin email (or an email at the same domain as the server) and use the Reply-To: header to indicate where replies should go.

    I’ll add that to the wish list for the next release.

    If you add an issue here, it may get added before then:
    https://github.com/jbuchbinder/salesforce-wordpress-to-lead/issues

    Thread Starter jasonsee

    (@jasonsee)

    Eh, not too concerned with spam, since we’re using gmail. However the reply-to header feature would work perfectly. Thanks, and submitted a request on Github. — Jason

    What I meant was, changing the from address to the user would likely cause Gmail to flag those messages as spam as they look like the headers were forged.

    Thread Starter jasonsee

    (@jasonsee)

    Ah – nope – only the emails that are sent to the WP Admins should be updated so they are sent from the user that filled out the form. Make sense?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Change 'From' email name and address’ is closed to new replies.