Support » Plugin: MC4WP: Mailchimp User Sync » Send new account email from WordPress

  • Resolved moviko

    (@moviko)


    Hi,

    I am wondering if it is possible to send a new account email from WordPress when a user account is created after being synced from MC?

    The default one that has a password or one with a link to reset/set up password (both included with WP) would be fine.

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Harish Chouhan

    (@hchouhan)

    Hello,

    Thanks for reaching out to us.

    I presume you have set up 2-way sync? If yes, you will need additional code to send the emails. If for creating user, you are already using the code at https://github.com/ibericode/mc4wp-snippets/blob/master/add-ons/user-sync/webhook-create-user.php, then a notification would be sent to the user.

    Thread Starter moviko

    (@moviko)

    I was not aware of that snippet of code. Where do I need to put it to make it work? I tried the functions file but no email was sent.

    Plugin Author Harish Chouhan

    (@hchouhan)

    Hello,

    Did you place the code in the “functions.php” file located inside your active theme folder?

    Also, can you please confirm if your 2 way sync is working, i.e when a user subscribes to your MailChimp list, a new user account is created in WordPress?

    Thread Starter moviko

    (@moviko)

    Yep the code is in the active theme’s functions file. The two way sync is also working as I see the new user in the WordPress user list.

    Plugin Contributor Lap

    (@lapzor)

    If you check your WordPress email with a plugin like WP Check Mail or WP Mail Logging do you receive the test email / see the email in Wp Mail Log?

    Maybe your hosting provider set your WordPress to not be allowed to send out any emails.

    You can also try switching WP Mail to SMTP with a plugin like “WP Mail SMTP by WPForms”

    Thread Starter moviko

    (@moviko)

    Yeah, I am using PostSMTP sending via Postmark and neither has a record of the email being sent. I am the system admin so I am thinking it may be another plugin interfering. I’ll try disabling plugins on a staging server.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Send new account email from WordPress’ is closed to new replies.