Simple Plugin Request: Send off an email after subscription complete

Discussion in 'Customization & add-ons' started by miso, May 10, 2009.

  1. miso

    miso aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    542
    Ok, since I don't have time to dabble into this and figure out how to code this myself I'd really, really, really appreciate one of you guys comfortable with editing and creating new plugins telling me how to put a plugin together that does something like this (or even coding something quick that accomplishes it):

    1) it needs to fire off an email ("from" fields are subscriber's name and email provided) to a specified email address (unique to each product), so it needs to add a "destination email" field to product form.

    2) that's it.

    This action should only happen when the "destination email" field for the product the user has subscribed for has been filled in (if blank, ignore the whole thing and do nothing), and on a successful subscription.

    Anyone already having something like this done, as it can't be any more complicated than any of the existing plugins around here... please let me know.
  2. jenolan

    jenolan aMember Coder

    Joined:
    Nov 3, 2006
    Messages:
    493
    Try this.....
  3. miso

    miso aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    542
    Umm, thanks for trying but that's not even close... I think your plugin sends an email to a specified custom email informing them that there was another signup/purchase received, right? (funny enough, I couldn't find the setting in "Email" tab to change the receiving email for that)

    What I need it to do is to add a custom field in Product form, so that for every product I can specify a custom email destination (mainly for autoresponder signups) that will allow me to fire off an email with the new subscriber's information in order to have them signed up for an autoresponder tied into that product/subscription. And this would get triggered on any successful subscription (free or paid), but it would be nice if it customized on which event to be triggered too...
  4. jenolan

    jenolan aMember Coder

    Joined:
    Nov 3, 2006
    Messages:
    493
    You set the destination mail in the product, the text of the message is controlled by the email template in the plugin directory.

    You did not specify that you were trying to spoof a mailing list signup message, at a guess that would be a breach of terms for most wouldn't it?

    Larry
  5. miso

    miso aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    542
    Ahh, in the product itself...

    And no, not necessarily is it a breach of terms (not in 1shoppingcart's case at least).
  6. jenolan

    jenolan aMember Coder

    Joined:
    Nov 3, 2006
    Messages:
    493
    I have it on my long list to do a version with a template per product.

    Larry
  7. miso

    miso aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    542
    No worries, I created one on my own...

    After looking into the coding logic I realized it's not that hard, so I put together a quick plugin that does exactly what I needed above - and makes the process of signing people up for 1ShoppingCart.com autoresponders from free products in amember a breeze now...

Share This Page