Your shopping cart is empty. Browse our Store

Magento

Open Source eCommerce Evolved

Magento Forum

   
How to send newsletter to one or more of the customer groups ??? 
 
Samson
Jr. Member
 
Total Posts:  11
Joined:  2008-01-08
 

Hello,
please I need some help I can’t figure how to do this properly.
Thx in advance,
Xavier

 
Magento Community Magento Community
Magento Community
Magento Community
 
RH
Member
 
Avatar
Total Posts:  55
Joined:  2007-10-09
 

This may help.

http://www.magentocommerce.com/boards/viewthread/1593/

 
Magento Community Magento Community
Magento Community
Magento Community
 
Samson
Jr. Member
 
Total Posts:  11
Joined:  2008-01-08
 

Thanks you for your link.
I managed to send the newsletter by calling manually /admin/newsletter_queue/sending

 
Magento Community Magento Community
Magento Community
Magento Community
 
iguru
Sr. Member
 
Avatar
Total Posts:  129
Joined:  2007-11-02
Děčín, Czech Republic
 

Please write full help how do you send newsletter. I don’t find newsletter_queue hmmm

 Signature 

Dnešek je vítězstvím sebe sama nad včerejškem. MM.
イグル

 
Magento Community Magento Community
Magento Community
Magento Community
 
BlackDesk
Jr. Member
 
Avatar
Total Posts:  24
Joined:  2008-03-10
San Diego
 

Just add the /admin/newsletter_queue/sending to the end of your store url, press enter, and bingo, it sends!

But seriously - are you kidding? How can there not be a bleeping ‘send’ button in the newsletter interface?????????????

AGHHHHAhhhhHA HA HA HA HA HA AHAA HA AA>..a/sdfasd>?,?./////...........s.asf...2.....ga ha ah haaaa

between this and importing i am losing my marbles (can u tell?)

I REALLY want to believe in you Magento…

 Signature 

_____________________________________________________________________

If we did all the things we are capable of doing, we would literally astonish ourselves.

Thomas Edison

 
Magento Community Magento Community
Magento Community
Magento Community
 
iguru
Sr. Member
 
Avatar
Total Posts:  129
Joined:  2007-11-02
Děčín, Czech Republic
 

Thx Master.

 Signature 

Dnešek je vítězstvím sebe sama nad včerejškem. MM.
イグル

 
Magento Community Magento Community
Magento Community
Magento Community
 
lisali
Member
 
Total Posts:  33
Joined:  2008-04-28
 
BlackDesk - 01 May 2008 07:34 PM

Just add the

/admin/newsletter_queue/sending

to the end of your store url, press enter, and bingo, it sends! ...

OMG. This works. Many many thanks, Samson. @BlackDesk - I share your frustration!
@Samson - you’re a star for sharing this with us!
smile

 Signature 

ExtraCall.com - UK Telecommunications

 
Magento Community Magento Community
Magento Community
Magento Community
 
alistek
Sr. Member
 
Total Posts:  78
Joined:  2008-04-02
Normal, IL
 

Hello,

Your right it is rather odd and the reason being is that in the backend code for whatever reason the Send button points to the wrong function.  You can just change what function it calls on the backend to the sending function and low and behold it works.  I have done that, it is a simple change to make and it works wonders.

Change this code in file:
app/code/core/Mage/Adminhtml/Block/Newsletter/Queue/Grid/Renderer/Action.php

Original:

if($row->getQueueStatus()==Mage_Newsletter_Model_Queue::STATUS_NEVER{
               
if(!$row->getQueueStartAt() && $row->getSubscribersTotal()) {
                $actions[] 
= array(
                    
'url' => $this->getUrl('*/*/start', array('id'=>$row->getId())),
                    
'caption'    => Mage::helper('newsletter')->__('Start')
                );
            
}

Rewritten:

if($row->getQueueStatus()==Mage_Newsletter_Model_Queue::STATUS_NEVER{
               
if(!$row->getSubscribersTotal()==0{
                $actions[] 
= array(
                    
'url' => $this->getUrl('*/*/sending', array('id'=>$row->getId())),
                    
'caption'    => Mage::helper('newsletter')->__('Start')
                );
            
}

-Adam

Note: This method of overwriting this block is not upgrade proof.  I haven’t done it the correct way yet just so you know.

EDIT:

This will send but it will bring you to a blank page and that is not ideal so change this code to redirect back to the grid view.
File: /app/code/Mage/Adminhtml/controllers/Newsletter/QueueController.php

Original:

public function sendingAction()
    
{
        
// Todo: put it somewhere in config!
        
$countOfQueue  3;
        
$countOfSubscritions 20;

        
$collection Mage::getResourceModel('newsletter/queue_collection')
            ->
setPageSize($countOfQueue)
            ->
setCurPage(1)
            ->
addOnlyForSendingFilter()
            ->
load();

        
$collection->walk('sendPerSubscriber', array($countOfSubscritions));
    
}

Changed:

public function sendingAction()
    
{
        
// Todo: put it somewhere in config!
        
$countOfQueue  3;
        
$countOfSubscritions 20;

        
$collection Mage::getResourceModel('newsletter/queue_collection')
            ->
setPageSize($countOfQueue)
            ->
setCurPage(1)
            ->
addOnlyForSendingFilter()
            ->
load();

        
$collection->walk('sendPerSubscriber', array($countOfSubscritions));

        
$this->_redirect('*/*');
    
}

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
© Copyright 2008 Varien. Magento is a trademark of Irubin Consulting Inc. DBA Varien