Page 1 of 1

Sending/ tracking Batch mails

Posted: Tue Feb 06, 2007 6:50 pm
by kendall
Hi,

I want to attempt using SwiftMailer to send "periodic" batches of emails however I want to output a status indicating whether or not the transaction was successful for each sent mail... plus i need to update the database of these successful and failed mails

Now the batches of email can range into the 1000s so i will have to use the flush methods to send the batches at intervals
and i can get the failed address afterwards using getFailedREcipients

but is there any way to emit whether the transaction has failed or succeeded? (i'm thinking about using ajax to trigger the execution);

is there anyway to do this...what is the onSend handle do?

Posted: Wed Feb 07, 2007 1:20 am
by Chris Corbyn
Try the plugin in this thread: viewtopic.php?p=301240#301240

:)

Posted: Thu Feb 08, 2007 5:48 pm
by kendall
Thanks man...

Posted: Sun Feb 11, 2007 1:54 pm
by kendall
I was trying out your application code when i got an error
Fatal error: Interface 'Swift_IPlugin'
i'm looking through the documentation to see what's this about

so i skimmed over the documentation and edit the swift php to have the interface implementation

but i start to get calls to undefined methods

so i used EasySwift.php

im now getting calls to undefined property $logs

Posted: Sun Feb 11, 2007 6:01 pm
by Chris Corbyn
Oh, are you using Version 3? That plugin won't work for version 3. The plugin API has changed. Sorry, I didn't realise you were on v3 :)

Posted: Mon Feb 12, 2007 5:37 am
by kendall
Yeah...kinda figured that out...reverted to 2.1.17

im getting a succesful attempt to send the mail...but im now getting a Relay denied error. So i'm still not receiving the mail. Working with my ISP to see whats up

thanks anyways

Kendall

Posted: Mon Feb 12, 2007 5:41 am
by Chris Corbyn
Relay denied suggests you're connecting to the SMTP server of a different ISP to your host.