Follow by Email

Saturday, August 14, 2010

Setting Newsletter in Your Magento Store

If you want to create a newsletter and want to send it to your all subscriber then you have to follow some basic stapes
  1. Go to your admin -> Newsletter -> Newsletter Templates -> Add new templates
  2. Now fill up your newsletter form and make it save by clicking Save Template
  3. Now you can see your template in tabulate form, now select Queue newsletter from action drop down
  4. Now set the date and time from "Queue Date Start" and save newsletter
  5. Now go to the Magento Admin -> System -> Configuration -> Customers -> Newsletter. You need to make enable for only those customers who are agreeing to receive newsletter
  6. Unsubscription Email Sender -> Customer support
  7. Unsubscription Email Template -> default Template from local
  8. Success Email Template -> default Template from local
  9. Success Email Sender -> general contact
  10. Confirmation Email Sender -> Customer support
  11. Confirmation Email Template -> default Template from local
  12. Now from here, Expand the Subscription Options area and change the Need to Confirm field value to Yes.
  13. click on save config
  14. Now go to the Admin => system => configuration => system => ‘Cron (Scheduled Tasks)’ tab.
  15. Generate schedules every -> 60, Schedule ahead for -> 1, Missed if not run within -> 60, History cleanup every -> 120, Success history lifetime -> 120, Failure history lifetime -> 120
  16. click on save config
  17. Now open this file "app\code\core\Mage\Newsletter\etc\config.xml"
  18. <crontab>
    <jobs>
    <newsletter_send_all>
    <schedule><cron_expr>*/5 * * * *</cron_expr></schedule>
    <run><model>newsletter/observer::scheduledSend</model></run>
    </newsletter_send_all>
    </jobs>
    </crontab>
    -------with-------this--------
    <crontab>
    <jobs>
    <newsletter_send_all>
    <schedule><cron_expr>0,15,30,45 * * * *</cron_expr></schedule>
    <run><model>newsletter/observer::scheduledSend</model></run>
    </newsletter_send_all>
    </jobs>
    </crontab>
  19. Now type in the address bar of your browser "http://www.yoursitename.com/index.php/admin/newsletter_queue/sending"

1 comment:

  1. Hi,

    Thanks for the step by step instructions.

    I don't understand how to do steps 17 through 19.

    In step 17, where do I go to open the file you mentioned, i.e. "app\code\core\Mage\Newsletter\etc\config.xml"?

    And what are those codes in step 18? Do I copy and paste all the codes you posted above? The ones above and below "-------with-------this--------"?

    Thank you.

    Elnie

    ReplyDelete