WordPress.org

Ready to get started?Download WordPress

Forums

WP e-Commerce Style Email
[resolved] All WP email template (8 posts)

  1. blitz999
    Member
    Posted 1 year ago #

    We needed to do a forgot password email recently. The styled email looks great, but has lost the reset password link!

    http://wordpress.org/extend/plugins/wp-e-commerce-style-email/

  2. Jacob Schwartz
    Member
    Plugin Author

    Posted 1 year ago #

    Hi there!

    I'm sorry to hear you're having trouble. Would you mind providing the plugin version, and whether this problem occurs with the plugin turned off? Let's try to narrow down the cause.

    Jacob

  3. blitz999
    Member
    Posted 1 year ago #

    Hi there,

    So, the plugin is v0.1.4

    If I allow it to style all the WP emails, then it seems to lose some of the WP hooks, such as adding the reset link.

    All the text is there, just not the reset link!

    If I allow it to only style the WPEC emails, the 'normal' WP - link to reset pw included.

  4. Jacob Schwartz
    Member
    Plugin Author

    Posted 1 year ago #

    This is an interesting bug. I'll need to chase down where WordPress filters the reset link. Let me know if you have any information on it. Thanks for pointing it out.

  5. Jacob Schwartz
    Member
    Plugin Author

    Posted 1 year ago #

    This is what I discovered:
    It looks like WordPress never actually creates a link per se (as you would expect for emails that were intended to be plain-text). What it does is put the password reset URL inside a pair of <> tags, for some reason. If anyone can tell me why, I'd be grateful! If you look at the raw email content, the reset link does appear in the email - but when it becomes an html email, clients probably interpret it as commented-out.

    I am planning my next plugin release to filter out the <> tags when site emails are styled. I don't foresee any downsides. The next release will also allow admins to exclude specific email subjects from styling - such as WP's password reset emails.

    Does that sound like it will suit your needs?

  6. blitz999
    Member
    Posted 1 year ago #

    Looking at a raw reset email, I can see what you mean.

    That sounds like a WP bug doesn't it?

    I haven't done much work with the WP emails, but having worked with raw and html based templates for years, I can't see why they would be there on purpose.

    I'll feed back if I get to investigate this more also.

    BTW, I hadn't realised you were the developer at first. Just want to say, great little plugin. I'm a site designer and this is a great little timesaver for me (and my clients!) to put together a nice looking email response template.

  7. Jacob Schwartz
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks! I'm glad you're getting good use out of the plugin.

  8. Jacob Schwartz
    Member
    Plugin Author

    Posted 1 year ago #

    Just a quick note to say that this issue has been dealt with in v0.6 of the plugin, just released to the WP repository.

    Regards,

    Jacob

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic