1 (edited by hnstmn 2007-01-14 09:39)

Topic: Bounce Emails - Unable To Deliver To Recepient

Hi,

I ran my Broadcast_Email plugin today to send out an email message to my members, and I receive a HUGE amount of "Unable To Deliver" message backs to my email account.

My question is, I am running PunBB 1.2.6 - and is there a WAY to check ALL members e-mail addresses within my forum to authenticate that they're email addresses are still active or good???

Any advise or help anyone could offer to my question would be most appreciated!!!

Thanks sad

PS..... I noticed their was a similar older posts  http://punbb.org/forums/viewtopic.php?id=6910 but it had no answer to this question.

BTW, the last time I sent out a Broad Cast email was a very long time ago. So I guess there are alot of user members that no longer exits in my forum, that I have to find someway...

Anyone got an idea?? How too?

2 (edited by hnstmn 2007-01-14 10:17)

Re: Bounce Emails - Unable To Deliver To Recepient

Here is a copy of the email query I received. I noticed that the recipients email address has a "QUOTATION" just after his email username?? This seems to be causing the bounces? Must be my database or that the Broadcast Email plugin thats causing this??

=====================================================
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

"force2245 <force2245"@yahoo.com
   
SMTP error from remote mailer after end of data:
host c.mx.mail.yahoo.com [216.39.53.3]: 554 delivery error:
dd This user doesn't have a yahoo.com account.
=====================================================

Anybodys advise would most be appreciated!

Thanks

Re: Bounce Emails - Unable To Deliver To Recepient

I check my database for the any weired changes, but really no luck why this QUOTATIONS are being inputted into my mass mailing list script which is emailed to all my forum members.

Seems when I use my mail plugin to send all members an email, the program seems to be adding in  this (") quotation in the members email address, inturn the email server on the other receiving end kicks back the email to me because it does not reconize the email address especially with a quotation before the "@yahoo.com

Anyways, any ideas or help anyone could offer me would be most
appreciated!!

Thanks

Re: Bounce Emails - Unable To Deliver To Recepient

Would this be my problem in my (email.php) that would cause the AP_Broadcast_Email.php to bounce emails?

 // Detect what linebreak we should use for the headers
    if (strtoupper(substr(PHP_OS, 0, 3) == 'WIN'))
        $eol = "\r\n";
    else if (strtoupper(substr(PHP_OS, 0, 3) == 'MAC'))
        $eol = "\r";
    else
        $eol = "\n";
                $eol=  "\r\n";

Re: Bounce Emails - Unable To Deliver To Recepient

Upgrade to 1.2.14 (which you should do anyway to fix various security issues) and then try it

Re: Bounce Emails - Unable To Deliver To Recepient

Hi Smartys,

Thanks for the reply. Wish I could upgrade, but unfortunetly I just have to MANY mods and upgrades to the script. Which inturn costed me way over 1k to have these hacks & mods done to it so far.

Thanks for your advise though...

cheers!

Re: Bounce Emails - Unable To Deliver To Recepient

You can just try using the hdiff to apply the patch to the email thingies.

Re: Bounce Emails - Unable To Deliver To Recepient

http://punbb.org/download/hdiff/hdiff-1 … .2.14.html

And as for the extra quotation marks, I'd check and see what's actually in the database. If the quotation mark isn't there, it's a problem with your setup.

9 (edited by hnstmn 2007-01-14 15:04)

Re: Bounce Emails - Unable To Deliver To Recepient

Hi Smartys,

Thanks for the reply. otherwise, I went thru the whole sql file, and I didn't find no double quotations in the email vars. Though this could be the problem (i think):

It could "spamassassin" on the other email servers that I am sending the emails out to and maybe bouncing back or blocking these emails inturn sending them back to me saying unable to deliver. Though...i dunno....

BTW, thanks for you both Smarty & elbekko for your input and advise though. Every bit is a little help to my problem...:)

Cheers!


BTW, here is the return email I got::

Mail delivery failed: returning message to sender 
From:  "Mail Delivery System" <Mailer-Daemon@relay1.noc.net]

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  "24toots <24toots"@yahoo.com
    SMTP error from remote mailer after end of data:
    host c.mx.mail.yahoo.com [216.34.53.3]: 554 delivery error:
    dd This user doesn't have a yahoo.com account (24toots <24toots@yahoo.com) [0] -
mta162.mail.re4.yahoo.com

------ This is a copy of the message, including all the headers. ------

Return-path: <coolforum@noc.com>
Received: from smtp-2.noc.net ([216.145.225.38])
        by relay1.noc.net with esmtp (Exim 4.41 (FreeBSD))
        id 1H61HK-000Bbv-Eg
        for "24toots <24toots"@yahoo.com; Sun, 14 Jan 2007 04:03:50 -0500
Received: (qmail 26332 invoked by uid 510); 14 Jan 2007 09:03:48 -0000
Received: from coolforum@noc.com by smtp-2.noc.net by uid 89 with
qmail-scanner-1.20st 
 (clamuko: 0.74. spamassassin: 2.63.  Clear:RC:1(216.145.231.253):. 
 Processed in 0.023297 secs); 14 Jan 2007 09:03:48 -0000
X-Qmail-Scanner-Mail-From: coolforum@noc.com via smtp-2.noc.net
X-Qmail-Scanner: 1.20st (Clear:RC:1(216.145.231.253):. Processed in 0.023297 secs)
Received: from host23.webservices.net (HELO smtp.coolforum.com)
(coolforum@noc.com@216.145.231.253)
  by smtp-2.noc.net with SMTP; 14 Jan 2007 09:03:48 -0000
Subject: Now the "coolforum"
To: <24toots <24toots@yahoo.com>>, 
From: "coolforum" <coolforum@noc.com>
Date: Sun, 14 Jan 2007 04:03:48 -0500
MIME-Version: 1.0
Content-transfer-encoding: 8bit
Content-type: text/plain; charset=iso-8859-1
X-Mailer: PunBB Mailer
X-Qmail-Scanner-Message-ID: <116876542876626327@smtp-2.noc.net>
X-HR-Scan-Signature: fe063f1ce5d6789a07ca39ae7b51bdb9
X-HR-Status: HR_AVScanned-(coolforum@noc.com/216.120.225.38)

Re: Bounce Emails - Unable To Deliver To Recepient

I don't think spamassassin is the issue: could you paste your copy of the plugin and of include/email.php here please?

11 (edited by hnstmn 2007-01-16 00:59)

Re: Bounce Emails - Unable To Deliver To Recepient

Hi Smarty,

Thank so much for your help! All fixed now!!:)

I have another new question though, I noticed when I ran the "AP_Broadcast_Email.php" today, I noticed that alot of people never got any email from me thru my froum, but only the people that signed up for membership in the last few days. Any idea's why? -- Though, but I did change out my sql database to an older database from about 4 weeks ago, which did not have the new members in it - which did not have the new signed up members in it  a few days ago, (and which those did get my email today). Is it because my new "cache" files does not "Recognize" my older sql database files and users/emails that I uploaded????

Basically, I got alot of members in my older sql database that I cannot get any e-mails out too by way of the AP_Broadcast_Email.php, but only to those who have just signed up a few days ago under my old database, then the AP_Broadcast_Email.php works only for them.

Any help and advice would be most appreciated!!

Thanks

Re: Bounce Emails - Unable To Deliver To Recepient

Cache doesn't affect the user table.
If you're sure that they actually aren't getting the emails (as opposed to the email being put in a spam filter, etc) talk to your host: they may throttle you when you try to send too many emails

13

Re: Bounce Emails - Unable To Deliver To Recepient

Hi Smarty,

Ok, thats good to know... Otherwise, I'll go ask my hosting provider about the "throttling" thing.. I'll get back as soon as I find out.

Thanks!

14

Re: Bounce Emails - Unable To Deliver To Recepient

Hi Smarty,

I have another question again, I noticed after running my AP_Broadcast_Email plugin, and after all my emails where sent, the next proceeding page showed me this message 404::

========================================
The page cannot be displayed
The page you are looking for is currently unavailable. The Web site might
be experiencing technical difficulties, or you may need to adjust your
browser settings.

Click the  Refresh button, or try again later.

If your Network Administrator has enabled it, Microsoft Windows can examine
your network and automatically discover network connection settings............

Cannot find server or DNS Error
Internet Explorer
========================================


Shouldn't it show me this message instead??

***************************************************
Broadcast Email - Message Sent

The message was sent to [ ] Registered Users.

You should receive the Administrator's copy in a few moments.

Please use the Administrator's copy as a record of this event.

***************************************************

Let me know your thoughts...

Thanks!

15

Re: Bounce Emails - Unable To Deliver To Recepient

Smartys wrote:

Cache doesn't affect the user table.
If you're sure that they actually aren't getting the emails (as opposed to the email being put in a spam filter, etc) talk to your host: they may throttle you when you try to send too many emails

Oh, so the cache files do not have any bearing on user sql tables? ...That is good. Otherwise I found out from my hosting provider my limit on emails sent out is about a thousand an hour. So I don't really see any problem there.

All I know is that - when I use the email plugin not all of my members are not receiving my emails. I think the reason for this must of been when I moved my sql DB at the time, I must of damaged some of my tables in the file, or back quotes added that are not suppose to be there, which is causing the non parsing of older email address. Oh well.... back to the PunBB drawing board!!...LOL....

Otherwise, thanks for your help again Smarty!!

Cheers

Re: Bounce Emails - Unable To Deliver To Recepient

The chances of your database being messed up like that are unlikely
I do think I know the problem though
Try adding this to the top of the plugin (after define('PUN_PLUGIN_LOADED', 1);)

@set_time_limit(0);

17

Re: Bounce Emails - Unable To Deliver To Recepient

Thanks Smarty! I'll give it a try!!!

Cheers!

18

Re: Bounce Emails - Unable To Deliver To Recepient

Smartys wrote:

The chances of your database being messed up like that are unlikely
I do think I know the problem though
Try adding this to the top of the plugin (after define('PUN_PLUGIN_LOADED', 1);)

@set_time_limit(0);

Hi Smarty,

I changed out the code above with the one you supplyed. Btw, what does this new code do above? Does it slow down the batch email process or something?

Just curious...

thxs

Re: Bounce Emails - Unable To Deliver To Recepient

Err, there's nothing to change out, you add that code after the define call
What it does is disable the time limit PHP imposes on the script before it halts the execution. Hopefully, that way, all the emails will get sent

20

Re: Bounce Emails - Unable To Deliver To Recepient

Opps,.....I mean I added the code after ('PUN_PLUGIN_LOADED', 1) like you sayed, did not remove it. But ok, I kinda figure that @set_time_limit(0); was to slow things down a little.

Thanks Again!  wink