Search found 7 matches

by oth
Sat Apr 07, 2007 8:19 pm
Forum: Swift Mailer
Topic: Anti-Flood stopping after sending the first batch
Replies: 4
Views: 4463

Hey :) yea I upgraded to v3, the first step was to get it working that's why I used EasySwift, then as I wrote in the header of the file ( comments ) todo is to get ride of EasySwift :D Help would be very appreciated, bear in mind though, Cake unlike other frameworks supports php 4 and 5 ( like Swif...
by oth
Fri Apr 06, 2007 4:40 pm
Forum: Swift Mailer
Topic: Sending emails depending on the subscriber preferences
Replies: 7
Views: 5707

Isn't batchSend() just a loop that calls send() with the same message and one address at a time anyway ?
by oth
Fri Apr 06, 2007 1:49 pm
Forum: Swift Mailer
Topic: Anti-Flood stopping after sending the first batch
Replies: 4
Views: 4463

Ok, Though I'm using cakePHP and I use the swiftMailer component I wrote for it, anyway the component is here: http://bin.cakephp.org/view/1053105011 I haven't tested fully to release it to the public 'cause the old one wasn't compatible. and here is the send action http://bin.cakephp.org/view/78999...
by oth
Fri Apr 06, 2007 12:50 am
Forum: Swift Mailer
Topic: Anti-Flood stopping after sending the first batch
Replies: 4
Views: 4463

Anti-Flood stopping after sending the first batch

Hi, so I have 15 recipients, Anti-flood is setup to send the message to 5 recipients and stop for 2 seconds for testing basically. Though when sending the first batch, the first 5 recipients, the script ends. I have set_time_limit(0); ignore_user_abort(); before sending but I don't think it's that, ...
by oth
Thu Apr 05, 2007 7:35 pm
Forum: Swift Mailer
Topic: Sending emails depending on the subscriber preferences
Replies: 7
Views: 5707

Do the messages very for each recipient?
No they don't vary. the subscribers that chose to have an HTML version should receive an email with two parts, HTML and PLAIN-STRIP_TAG() of the HTML version. The subscribers that chose PLAIN should receive the plain version.
by oth
Thu Apr 05, 2007 12:11 pm
Forum: Swift Mailer
Topic: Sending emails depending on the subscriber preferences
Replies: 7
Views: 5707

Well currently, that's what I'm doing, sending a message of two parts HTML and PLAIN. The thing is, though, if a subscriber chose to receive the PLAIN version of the newsletter it would probably be because he wants the PLAIN version even if his/her client has support for HTML Emails. So letting the ...
by oth
Thu Apr 05, 2007 12:03 am
Forum: Swift Mailer
Topic: Sending emails depending on the subscriber preferences
Replies: 7
Views: 5707

Sending emails depending on the subscriber preferences

Hi, So here is the scenario: I have a newsletter subscription form, the potential subscriber can choose the format of the newsletter, that is, html or plain. In the backend administration, the newsletter is created in two formats, plain and html. Basically when sending the newsletter, I have to deci...