• Resolved antonv

    (@antonv)


    Suggested improvement: It would be great if site administrator/developer can add to the contents of the unsubscribe email.

    Instead of the one sentence “You unsubscribed from LIST with the email address [email protected]” that this message could be extended.

    I edited your Plugin code (the ultimate WordPress developer’s sin) to extend the message with custom text.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author brandtoss

    (@brandtoss)

    Hi @antonv,

    I assume you edited the method sendWelcomeOrGoodbyeSubscriberMsg in wp-mailster/mailster/subscr/SubscribeUtils.php

    If you read the method until its end, you will see there are filters applied.
    For subscribe/welcome messages:

    wpmailster_subsr_welcome_email_subject
    wpmailster_subsr_welcome_email_body_html
    wpmailster_subsr_welcome_email_body_alt

    For unsubscribe/goodbye messages:

    wpmailster_subsr_goodbye_email_subject
    wpmailster_subsr_goodbye_email_body_html
    wpmailster_subsr_goodbye_email_body_alt

    This gives you the possibility to override the complete email contents without touching the plugin code.

    Thread Starter antonv

    (@antonv)

    You are right, I did not read the method to the end.

    Thank you for pointing this out, I will make good use of these filters and revert the code to its original.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Feature Request: custom text for standard emails’ is closed to new replies.