Search found 18 matches

by Flurrywinde
Tue Jul 15, 2008 4:01 pm
Forum: Swift Mailer
Topic: Can't put a rotator connection in a multi connection?
Replies: 1
Views: 1294

Can't put a rotator connection in a multi connection?

I tried to put a rotator connection in a multi connection, but I get this error: Notice: Swift_Connection_Multi::addConnection expects parameter 1 to be instance of Swift_Connection. in /home/playb4/scripts/Swift-3.3.2-php4/Swift/Connection/Multi.php on line 52 Looking in Multi.php, I saw that a che...
by Flurrywinde
Wed May 14, 2008 11:25 am
Forum: Swift Mailer
Topic: Bug? Multi connection didn't roll over
Replies: 4
Views: 1768

Re: Bug? Multi connection didn't roll over

Cool, so what I'll do is install it on my two test servers first and if there are no problems there, begin to use it on my production server. In the meantime, with v.3, can I trap the errors that aren't automatically being handled correctly by your code (i.e. SMTP failing to authenticate and send() ...
by Flurrywinde
Wed May 14, 2008 12:15 am
Forum: Swift Mailer
Topic: Bug? Multi connection didn't roll over
Replies: 4
Views: 1768

Re: Bug? Multi connection didn't roll over

But it didn't successfully make an initial connection. The error at the top of the log is it failing to authenticate. (Incidentally, the reason it didn't authenticate is because Gmail seems to have just begun locking the account and requiring a Captcha to unlock if I use the SMTP server too much.) C...
by Flurrywinde
Tue May 13, 2008 9:57 pm
Forum: Swift Mailer
Topic: Bug? Multi connection didn't roll over
Replies: 4
Views: 1768

Bug? Multi connection didn't roll over

This is v.3.3.2 in php4. My connection is a multi: $connections_gmail = array(); $connections_def = array();   $conn_g0 =& new Swift_Connection_SMTP("smtpauth.fairpoint.net"); $conn_g0->setUsername("kanon11@fairpoint.net"); $conn_g0->setPassword("hotmouse"); $connec...
by Flurrywinde
Tue May 13, 2008 9:47 pm
Forum: Swift Mailer
Topic: The sendmail process did not allow the command 'MAIL
Replies: 4
Views: 1553

Re: The sendmail process did not allow the command 'MAIL

Why were there no failed recipients? Does that mean despite the error the e-mail was really sent?

I should be able to install the beta on one of my sites. It's low volume e-mail, however. For my higher volume site, I think I better stick to stable.
by Flurrywinde
Tue May 13, 2008 9:45 pm
Forum: Swift Mailer
Topic: The sendmail process did not allow the command 'MAIL
Replies: 4
Views: 1553

Re: The sendmail process did not allow the command 'MAIL

Why were there no failed recipients? Does that mean despite the error the e-mail was really sent?
by Flurrywinde
Sat May 10, 2008 11:36 pm
Forum: Swift Mailer
Topic: The sendmail process did not allow the command 'MAIL
Replies: 4
Views: 1553

The sendmail process did not allow the command 'MAIL

I have a script that runs every night and sends people e-mail if there are new posts in the forum. Here's a partial transcript of the log: . . . > Bleach: Royal Guard - Las Noches - 6 new messages sent to (02:39:38): > > hollowking - somebody@hotmail.com > foxhanyou - somebody@Aol.com > jasperfan - ...
by Flurrywinde
Fri May 09, 2008 8:53 pm
Forum: Swift Mailer
Topic: Two instances of swift using Swift_Connection_Multi sharing
Replies: 6
Views: 1884

Re: Two instances of swift using Swift_Connection_Multi sharing

Does your ISP not provide an SMTP server? They do, but it has a bad reputation with senderscore.org. Anyway, I tried to use your code: if ($swift->connection === $gmailConnection) {   //is gmail }   and if ($swift->connection->getServer() == 'smtp.gmail.com') {   //is gmail } But neither seem to wo...
by Flurrywinde
Sat Mar 29, 2008 2:51 pm
Forum: Swift Mailer
Topic: Two instances of swift using Swift_Connection_Multi sharing
Replies: 6
Views: 1884

Re: Two instances of swift using Swift_Connection_Multi sharing

Thanks, just what I needed! As for Gmail being slow, do you mean slow sending (i.e. my script will be slow) or slow delivering? If slow delivering, well, it doesn't seem to be as bad as getting deferred up to 72 hours and sometimes not getting delivered at all, which is what happens when I use my ho...
by Flurrywinde
Fri Mar 28, 2008 2:16 pm
Forum: Swift Mailer
Topic: Two instances of swift using Swift_Connection_Multi sharing
Replies: 6
Views: 1884

Re: Two instances of swift using Swift_Connection_Multi sharing

Thanks, please let me know if there's a problem. I'll do my own testing, of course, but I'm not really set up for that (i.e. only have access to a limited amount of e-mail addresses). So far, it seems to work if only one instance is used. ANOTHER RELATED QUESTION: Is there a way to determine which c...
by Flurrywinde
Mon Mar 10, 2008 12:30 pm
Forum: Swift Mailer
Topic: Two instances of swift using Swift_Connection_Multi sharing
Replies: 6
Views: 1884

Two instances of swift using Swift_Connection_Multi sharing

I just want to check if this is okay: $connections_gmail = array(); $connections_def = array();   $conn_g =& new Swift_Connection_SMTP("smtp.gmail.com", SWIFT_SMTP_PORT_SECURE, SWIFT_SMTP_ENC_TLS); $conn_g->setUsername("me@gmail.com"); $conn_g->setPassword("mypass")...
by Flurrywinde
Sat Feb 23, 2008 6:10 pm
Forum: Swift Mailer
Topic: v.2.1.7 works as cron job but not 3.3.2
Replies: 5
Views: 1700

Re: v.2.1.7 works as cron job but not 3.3.2

That's good, because my host couldn't fix it. I removed the lstat() call, and now everything's fine. I could have also moved the file inside my public_html directory. I guess outside of public_html, the php settings aren't user modifiable, so the open_basedir restriction can't be changed. (It's a sh...
by Flurrywinde
Sun Feb 17, 2008 12:22 pm
Forum: Swift Mailer
Topic: v.2.1.7 works as cron job but not 3.3.2
Replies: 5
Views: 1700

Re: v.2.1.7 works as cron job but not 3.3.2

It's the same server. Also, the v.3.3.2 code works fine if I call it from a file on my website. My cron jobs, however, I store outside of public_html. Thus, I think the server has some extra restrictions there. (I'm on a shared hosting plan.) I put a php.ini file in that directory, but it didn't hel...
by Flurrywinde
Sat Feb 16, 2008 5:42 pm
Forum: Swift Mailer
Topic: v.2.1.7 works as cron job but not 3.3.2
Replies: 5
Views: 1700

v.2.1.7 works as cron job but not 3.3.2

I've been using Swift Mailer v.2.1.7 for awhile now, but also installed v. 3.3.2 (both the php4 version). Now my script no longer works when run as a cron job, though if I call it through a php file on my website using include() it works fine. Here's the error I get: <b>Fatal error</b>: <br /><stron...
by Flurrywinde
Tue Feb 05, 2008 3:33 am
Forum: Swift Mailer
Topic: using swift to detect bouncebacks
Replies: 8
Views: 8132

Re: using swift to detect bouncebacks

Use the code found here: http://www.anti-spam-man.com/php_bouncehandler/v4/ . It's a class that, when fed a bounce e-mail, extracts information about the bounce, like the e-mail address in question and the nature of the bounce (i.e. transient, permanent, etc.). What I did was take this code and make...