WordPress.org

Support

Support » Plugins and Hacks » Contact Form 7

Contact Form 7

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Ben Huson
    Participant

    @husobj

    This plugin filters the default from name/address very early so I’m surprised it interferes – I’m guessing Contact Form 7 must be setting them in a different way?

    The only think I can think of is it you can remove the WP Mail From II filters before the form is send and re-add them after. I’m not sure where you would be able to hook in to do this though, I don’t know Contact Form 7 very well

    remove_filter( 'wp_mail_from_name', array( $WP_MailFrom_II, 'wp_mail_from_name' ), 1 );
    remove_filter( 'wp_mail_from', array( $WP_MailFrom_II, 'wp_mail_from' ), 1 );
    me
    Member

    @yair10

    I had the same problem
    I turned off the plugin – now “Contact Form 7” stopped sending emails

    what can i do for fix it?

    Plugin Author Ben Huson
    Participant

    @husobj

    Did you try adding the remove_filter code above?
    If so you’ll need to remove this if disabling the WP Mail From II plugin.

    me
    Member

    @yair10

    In fact, I did not understand where exactly to put this code?
    Before what?

    me
    Member

    @yair10

    I tried to de-active the wp mail from plugin or & delete the mailfrom the 2 tables from dbase- but its didnt help me anything

    Plugin Author Ben Huson
    Participant

    @husobj

    Deactivating Wp Mail From II means it should not then affect anything. The 2 settings in the database are only used when the plugin is active so they shouldn’t affect anything.

    Have you installed/upgraded any other plugins or themes in the meantime?
    …or upgraded WordPress?

    Next think to check would be that your Contact Form 7 settings are all still correct.

    me
    Member

    @yair10

    nothing change in CF7 setting,
    but when i turn-off your plugin, CF7 stop sending mail in all forms
    so i have to use your plugin untill i fix this problem
    In fact, I did not understand where exactly to put this code?
    Before what?
    if you have a screen shot please

    nickandyhead
    Member

    @nickandyhead

    This plugin seems to do a fine job of combating the problem of having hosting account information in wordpress’s emails that are sent out.

    However, in gmail only, I still see a little bit of the problem.

    I suggest you test thoroughly with gmail. It adds an extra line to the email “from” field which is not desirable. I will gladly send pictures if you want.

    Also: to the person having trouble with contact form 7, I had very little problems installing the plugin (it works great other than the above stated issue.)

    I suggest you start from ground up and remove any changes you made and revert them back to normal. I didn’t have to change anything crazy. May have a different hosting provider though… I have bluehost.

    Sincerely Yours,

    Nick

    Plugin Author Ben Huson
    Participant

    @husobj

    Thanks @nickandyhead – I’ll do some gmail testing.

    If you are able to send a picture to point me in the right direction that would be great.
    Please add a new issue and upload the image here…

    https://github.com/benhuson/wp-mailfrom/issues

    me
    Member

    @yair10

    remove_filter( 'wp_mail_from_name', array( $WP_MailFrom_II, 'wp_mail_from_name' ), 1 );
    remove_filter( 'wp_mail_from', array( $WP_MailFrom_II, 'wp_mail_from' ), 1 );

    where exactly to put this code?

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Contact Form 7’ is closed to new replies.