poMMo Community Forums

poMMo is a PHP Mass Mailer. Welcome to our community!

You are not logged in.

Announcement

The SourceForge forums are still viewable here, although no longer active. We hope you enjoy the new amenities of punBB! ;)

#26 2008-07-05 17:54:57

CaptainObvious
Member
Registered: 2008-06-12
Posts: 16

Re: Bounce Management

Seems www.searchstrategy.co.uk isn't sending out the confirmation emails to allow registration.  Without that, we can't sign up for the service. Is this user error on my part?


Thanks

Offline

 

#27 2008-10-14 01:46:14

Milt
New Member
Registered: 2008-10-14
Posts: 2

Re: Bounce Management

I followed the link offered by dcr226uk above on 2008-05-20 and it took me to a website "ultracar.co.uk", which didn't seem to have any relationship to poMMo.  ????

Offline

 

#28 2009-02-05 11:14:32

joey santiago
Member
Registered: 2009-01-15
Posts: 13

Re: Bounce Management

i'd like to try this out... i was following the readme, but can't find ant config_mailings.tpl file... does anyone have a clue?

or, well... it would be great whether someone could explain me how to implement this feature. it would be interesting to make it working.

thanks a lot

Offline

 

#29 2009-02-11 19:28:31

Gene Steinberg
Member
Registered: 2007-06-16
Posts: 13
Website

Re: Bounce Management

brice wrote:

dcr226uk,

  Great work... especially in keeping it generic enough to be used across any mailer (that supports CSV removal of subscribers)! Of course I'd like to add this as a base feature of poMMo. If you're interested in doing so, let me know. Until it's added, I'll refer people to your script. Keep it up.

~ Brice

Alas, here in early 2009, that script appears to be unavailable. sad


Peace,
Gene Steinberg
Co-Host, The Paracast
http://www.theparacast.com

Offline

 

#30 2009-02-19 00:12:30

wtfbrb
New Member
Registered: 2008-07-25
Posts: 1

Re: Bounce Management

Well, I can answer a couple of these but I am still getting the addpager error when clicking on adjust subscriber status link.

the subscribers_bounce.tpl file needs to go to /themes/default/admin/subscribers/subscribers_bounce.tpl

I believe the config_mailings.tpl is now:
admin/setup/config/mailings.tpl

Last edited by wtfbrb (2009-02-19 00:35:00)

Offline

 

#31 2009-03-03 17:54:07

knoxdems
Member
Registered: 2008-05-10
Posts: 15

Re: Bounce Management

I've built yet another bounce mail handler.

This adds a few files in the support directory and gives you 4 functions:
1. Logs into mail server, captures bounced email addresses from the "unsubscribe" link in the returned mail, inserts addresses to a new table.
2. Uses new bounced_mail table to set subscriber.status to 0 (unsubscribed).
3. Deletes bounced mail from server.
4. Displays the bounced_mail table.

Pluses:
You can use the features separately.
You get some feedback during operations.
You can use the bounced_mail table to update your primary database.
Modify the simple php code to suit your needs.
Free-ware.

Minuses:
Getting the correct parameters to login to your email server can be a challenge.
No support.

Get it here:
http://www.telamontech.com/index.html?p … ngsoon.htm

There's a link on the help page for feedback or reply here.

Cheers, Adrian

Offline

 

#32 2009-03-26 10:51:57

coderspool
New Member
Registered: 2009-03-26
Posts: 1

Re: Bounce Management

knoxdems - Thank you very much. It worked perfectly. smile

Offline

 

#33 2009-04-21 10:30:26

knoxdems
Member
Registered: 2008-05-10
Posts: 15

Re: Bounce Management

I've put up an new version that deals better with returned email in quoted-printable format. If you've installed this bounce handler, you need to replace only the file 'bounce_update.php'. The link is:

http://www.telamontech.com/index.html?p … ngsoon.htm

Offline

 

#34 2009-04-26 13:58:10

Jerry82
Member
Registered: 2008-12-04
Posts: 16

Re: Bounce Management

Hi knoxdems, I've just set this up and it looks very promising. However, I can't seem to get the pattern right. Could you help?

This is the text in the bounced mail:

Code:

<p><a href="http://mysite.com/newsletter/user/update.php?email=cxzxcczx@dfdfhfdjhkjfds.df&code=93a9277fd7bacfd98d9147e9ccc5728c"><small>Unsubscribe or Update Records</small></a></p>

Offline

 

#35 2009-04-27 11:11:30

knoxdems
Member
Registered: 2008-05-10
Posts: 15

Re: Bounce Management

Not sure why the 'code' is attached in your update link, but maybe this will help:

In bounce_update.php, the RegEx pattern I used is:
$pattern= '/\?Email=(.+)">/';

This looks for everything in the returned text that starts with '?Email=' and ends with '">' (the end of the html tag). In your case, the RegEx would return more than just the email address, also including '&code=93a...' (or missing it altogether, since the '?email=' string in your example has lowercase 'e').

If your outgoing emails _always_ contain the '&code=' and lowercase '?email=', your RegEx pattern could look like:

$pattern= '/\?email=(.+)&code=/';

if your outgoing emails only _sometimes_ contain the '&code=' string, then try:

$pattern= '/\?email=(.+)&code=|\?email=(.+)">/';

Where the pipe symbol ('|')  specifies 'or'. This should match the first case if '&code=' is present, or the second case (all the way to the end of the html tag) if '&code=' is not present.

RegEx is tricky and I don't claim to be a RegEx expert - please give this a try and let us know if it works for you. Maybe others will chime in with ideas.

Offline

 

#36 2009-04-27 12:44:53

knoxdems
Member
Registered: 2008-05-10
Posts: 15

Re: Bounce Management

Okay, test first, then post.

The OR pattern needs to be grouped like this:

$pattern= '/(?:\?[Ee]mail=(.+)&code=)|(?:\?[Ee]mail=(.+)">)/';

where the (?: .... )  parentheses specify a group, but not a remembered match.

the [Ee] finds both 'Email' and 'email'

HTH,

Offline

 

#37 2009-04-28 06:06:31

Jerry82
Member
Registered: 2008-12-04
Posts: 16

Re: Bounce Management

Hi,

It always has the code for instant access. I tried all three suggestions you posted but it still says "No bad addresses were found."

Offline

 

#38 2009-04-28 11:16:14

knoxdems
Member
Registered: 2008-05-10
Posts: 15

Re: Bounce Management

More testing shows that the 3d pattern above is not reliable, but the 1st pattern works for me on your example.
I wonder if your example has spaces in the start or stop strings?

I've posted a stand-alone script with a new matching pattern that deals with embedded spaces here:

http://www.telamontech.com/index.html?p … ngsoon.htm

It tests several examples and displays results.

You can run the script locally, paste in your own example text and play with the RegEx pattern.

I'd be interested in your findings.

Offline

 

#39 2009-04-28 12:34:45

Jerry82
Member
Registered: 2008-12-04
Posts: 16

Re: Bounce Management

Hi,

Even

Code:

$pattern= '/\?\s*e\s*m\s*a\s*i\s*l\s*=(.+)(?:&\s*c\s*o\s*d\s*e\s*=|"\s*>)/Ui';

doesn't do it.

I've included the bounce message below.

Code:

Hi. This is the qmail-send program at server.host.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<cxzxcczx@dfdfhfdjhkjfds.df>:
Sorry, I couldn't find any host named dfdfhfdjhkjfds.df. (#5.1.2)

--- Below this line is a copy of the message.

Return-Path: <news.bounce@mysite.com>
Received: (qmail 11492 invoked by uid 10141); 26 Apr 2009 20:31:01 +0200
Date: Sun, 26 Apr 2009 20:31:01 +0200
To: cxzxcczx@dfdfhfdjhkjfds.df
From: Newsletter <mysite@mysite.com>
Subject: Just a quick inspiration
Message-ID: <9efa487e9f785dcd3917e08f37cc20b6@mysite.com>
X-Priority: 3
X-Mailer: PHPMailer [version 1.72]
MIME-Version: 1.0
Content-Type: multipart/alternative;
    boundary="b1_9efa487e9f785dcd3917e08f37cc20b6"


--b1_9efa487e9f785dcd3917e08f37cc20b6
Content-Type: text/plain; charset = "UTF-8"
Content-Transfer-Encoding: 8bit



    Hey dsfdfdfsfd, here's just a quick inspiration for you to look at.
 Good luck with it and enjoy.
 Love,
 Jerry. 
    ______ 

    Unsubscribe or Update Records [1]

Links:
------
[1] http://mysite.com/http://mysite.com/newsletter/user/update.php?email=cxzxcczx@dfdfhfdjhkjfds.df&code=93a9277fd7bacfd98d9147e9ccc5728c


--b1_9efa487e9f785dcd3917e08f37cc20b6
Content-Type: text/html; charset = "UTF-8"
Content-Transfer-Encoding: 8bit

<p>Hey dsfdfdfsfd, here's just a quick inspiration for you to look at.<br />
<br />
Good luck with it and enjoy.<br />
<br />
Love,<br />
Jerry.</p>
<p> </p>
<p>______</p>
<p><a href="http://mysite.com/newsletter/user/update.php?email=cxzxcczx@dfdfhfdjhkjfds.df&code=93a9277fd7bacfd98d9147e9ccc5728c"><small>Unsubscribe or Update Records</small></a></p>



--b1_9efa487e9f785dcd3917e08f37cc20b6--

Offline

 

#40 2009-04-28 14:15:29

knoxdems
Member
Registered: 2008-05-10
Posts: 15

Re: Bounce Management

When I run your message text (after escaping quotes) through bounce_tester.php, I get

Result: string(26) "cxzxcczx@dfdfhfdjhkjfds.df"

which is expected and what you want, so I think the RegEx pattern works on your stuff.

Something else is going on.

- Is this the only bounce message that fails to extract the address?

- Do you get _any_ successful address extractions?

Offline

 

#41 2009-04-28 16:55:29

Jerry82
Member
Registered: 2008-12-04
Posts: 16

Re: Bounce Management

Error found! smile The problem was the [mailbox] setting. It did login, the RegExp apparently worked, but it couldn't find the email folder. Just setting 'INBOX' was enough in my case. So my config looks like this;

Code:

[url]= imap.mysite.com

[mailbox]= INBOX

[user]= full@emailaddress.com

[pass]= passwordgoeshere

The bounce handler now works perfectly. Thank you very much for your effort in creating and supporting this wonderful addition!

Offline

 

#42 2009-04-28 17:23:08

knoxdems
Member
Registered: 2008-05-10
Posts: 15

Re: Bounce Management

Yes, getting the IMAP connection right is the hardest part.

Thanks for persisting - now we have another RegEx pattern that people can use and a testing tool.

Glad it works for you.

Offline

 

#43 2009-04-29 02:56:24

edex
New Member
Registered: 2009-04-29
Posts: 3

Re: Bounce Management

hi knoxdems,
right now i'm using shared hosting at bluehost. so, telnet is not my option to troubleshoot the imap setting. can you provide some imap setting sample?

here is warning message that i get when i click updated bounces

Warning: imap_open() [function.imap-open]: Couldn't open stream {mail.lighthouse.asia:143/imap}inbox.bounces@lighthouse.asia in /home/userhost/public_html/poMMo2/support/bounce/bounce_update.php on line 40
Failed to open IMAP stream to mailbox. No results possible.

thanks

Offline

 

#44 2009-04-29 03:17:01

Jerry82
Member
Registered: 2008-12-04
Posts: 16

Re: Bounce Management

Did you try using mail.lighthouse.asia only?

Offline

 

#45 2009-04-29 03:40:04

edex
New Member
Registered: 2009-04-29
Posts: 3

Re: Bounce Management

still not working.

Offline

 

#46 2009-04-29 15:16:54

knoxdems
Member
Registered: 2008-05-10
Posts: 15

Re: Bounce Management

Hi edex:

The IMAP connection parameters are specific to your web host.

Our IMAP user/pw were not identical (different prefixes) to those for general site access. We worked ours out by trial and error using telnet and got the mailbox list that way also.

I'd be surprised if bluehost didn't offer some form of telnet/ssh access.
Their live support might be better than ours also. Gotta ask 'em!

Offline

 

#47 2009-04-29 22:52:45

edex
New Member
Registered: 2009-04-29
Posts: 3

Re: Bounce Management

hi,
thanks for the advice. it work now. here is the setting that i use

[url]= localhost:143/notls

[mailbox]= INBOX

[user]= bounces@something.com

[pass]= password

Offline

 

#48 2009-05-31 18:43:02

auvi1
New Member
Registered: 2009-05-06
Posts: 5

Re: Bounce Management

hi,
thanks for the advice. it work now. here is the setting that i use

[url]= localhost:143/notls

[mailbox]= INBOX

[user]= bounces@something.com

[pass]= password

----------------------------------------------------------------->

edex... your setting worked for me to, Thanks allot!

Offline

 

#49 2009-07-24 08:47:30

melat0nin
New Member
Registered: 2009-07-24
Posts: 1

Re: Bounce Management

I've been trying to install the bounce manager but I can't get it to work.  This sounds daft, but can you give some instructions on how to install the thing?!

EDIT: I saw the help file (silly me!).  Unfortunately our inhouse emails are all managed by MS Exchange.  Is it possible to use the bounce manager alongside Exchange?

Last edited by melat0nin (2009-07-24 08:54:05)

Offline

 

#50 2009-12-10 01:24:54

yoyohh
Member
Registered: 2009-12-10
Posts: 15

Re: Bounce Management

Anti-aging products work well when used over a long period of time. The effects can be observed only wow power leveling after they are used for a few months at a stretch. No immediate effects can be wow power leveling produced. Also, the effects last only as long as you use the products. When the they are stopped, its effects will also wane with time. The best time of the day to use is early morning and at bedtime. The products work well when we take rest. Certain wow gold uk products, like sun blocks, work well when used in the morning.Zinc and tea tree oil are good healthy products. They can be obtained over the counter. Zinc has a profound effect on the tissues of our body. It protects the healthy tissues and helps in resisting disease. Similarly, tea tree oil works cheapest wow gold wonders on the skin. It tightens the pores and firms the skin, giving a more youthful appearance.Whatever be the anti-aging product, it is always better to consult a doctor or a beauty expert before using them. A beautician can analyze the skin type and give advice about the content of the anti-aging products. Knowing gold for wow more about the skin will help to choose the perfect products for a smooth, glowing skin and a confident personality.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson