PHP Classes

Problem with bulk_mail_delivery_mode

Recommend this page to a friend!

      MIME E-mail message sending  >  MIME E-mail message sending package blog  >  How Can PHP Send Emai...  >  All threads  >  Problem with bulk_mail_delivery_mode  >  (Un) Subscribe thread alerts  
Subject:Problem with bulk_mail_delivery_mode
Summary:delivery_mode is always used
Messages:4
Author:john marshall
Date:2013-10-15 10:47:06
Update:2013-10-15 19:19:23
 

  1. Problem with bulk_mail_delivery_mode   Reply   Report abuse  
Picture of john marshall john marshall - 2013-10-15 10:47:06
Hi,

Thanks for your great class.
I'm having some trouble to used the bulk_mail_delivery_mode with sendmail and send the emails to queue.
I did look at the code and it looks like bulk_mail_delivery_mode is never used to send mail in sendmail_message.php. It sends with delivery_mode even with the bulk_mail mode activated.
Do i need to include another class or file in this case ?

  2. Re: Problem with bulk_mail_delivery_mode   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2013-10-15 11:26:42 - In reply to message 1 from john marshall
It checks the bulk_mail class variable to determine if it uses the bulk_mail_delivery_mode or the regular delivery_mode. The bulk_mail class variable is set by the parent class when the SetBulkMail function is called.

  3. Re: Problem with bulk_mail_delivery_mode   Reply   Report abuse  
Picture of john marshall john marshall - 2013-10-15 14:49:26 - In reply to message 2 from Manuel Lemos
Hi,
Thanks for your quick answer.
I've seen that bulk_mail is set in email_message_class but i can't actually find where it replaces the delivery mode based on that variable in sendmail_message.php,v 1.19. Is it in another file or class ?

  4. Re: Problem with bulk_mail_delivery_mode   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2013-10-15 19:19:23 - In reply to message 3 from john marshall
In the SendMail function of the sendmail_message_class it uses that value if the bulk_mail variable is set to true.