WordPress.org

Support

Support » Plugins and Hacks » MailPoet Newsletters » [Resolved] How to change notification email text

[Resolved] How to change notification email text

Viewing 10 replies - 1 through 10 (of 10 total)
  • this is in the settings, on signup confirmation tab you can change info there

    You can modify the confirmation email there, but not the notification email.

    I need to modify the email that’s sent to admin, not the email sent to the person subscribing.

    Any other thoughts?

    Plugin Author MailPoet

    @wysija

    Hey J!

    We unfortunately don’t have the ability to allow you to easily do this, without hacking our plugin.

    In the future, we’re thinking about allowing this. Not high priority at the moment!

    Thanks! I thought that was the case…

    Is it possible that you can point me to the right file? I can hack it myself…it would just save me time from having to look for it.

    Thanks for the reply!

    Hey J,

    It’s all in the file : wysija-newsletters/helpers/user.php in the _notify() function

    Hope this helps,
    Cheers,
    Ben

    Hello guys,

    in wysija-newsletters/helpers/user.php found the place where he starts to generate notification email.

    I want to add the NAME of subscribed user to notification email, cause i have it as a requird field on signup form on web site. Don’t know the variable name, of Name field.

    %1$s – only gets the registered email. I want to add name of registered user in notification email.

    $body=sprintf(__(‘Howdy,’.”\n\n”.’The subscriber %1$s has just subscribed to your list “%2$s”.’.”\n\n”.’Cheers,’.”\n\n”.’The MailPoet Plugin’,WYSIJA),”“.$email.”“,”“.implode(‘,’,$list_names).”“);

    Hello Milos,

    Here is a way to get your subscriber data based on the $email variable:

    $model_user = WYSIJA::get('user','model');
    $subscriber = $model_user->getOne(false,array('email' => $email));
    echo $subscriber['firstname'];

    Hope this helps,
    Cheers,
    Ben

    Hello Ben,

    Tried the code, Its returning the following error

    Column email does not exist in model : WYSIJA_model_user_list

    I am using yahoo smallbusiness as my webhost so can’t access the database to see the fields in table.

    any help will be appreciated.

    Thanks in advanced
    Suvendra

    Sorry for bothering My programming mistakes, worked it out.

    Thanks for the great plugin.

    +1 for modfiy option of notification email, please 🙂

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Resolved] How to change notification email text’ is closed to new replies.
Skip to toolbar