Check out the LimeSurvey source code on GitHub!

Bounce Processing - missing survey and token header info in bounce email

More
4 years 9 months ago #79660 by swendell
I have set up bounce processing, Limesurvey is successfully scanning the bounce emails which were sent to the bounce email account and not processing them. In the bounce email internet header I do NOT see the extra fields for token and survey ID that need to be processed? Here is the header of one bounced email:


Return-Path:
Content-Type: text/plain; charset="utf-8"
Return-Path: <>
Message-ID: <This email address is being protected from spambots. You need JavaScript enabled to view it.>
Date: Tue, 1 May 2012 11:23:45 -0400
From: This email address is being protected from spambots. You need JavaScript enabled to view it.
To: This email address is being protected from spambots. You need JavaScript enabled to view it.
Subject: Undeliverable: Invitation to participate in a survey
Content-Transfer-Encoding: quoted-printable
X-hMailServer-LoopCount: 1

Did I set up something wrong? The bounces seem to be going to the proper place and Limesurvey can access the bounce account...

Please Log in to join the conversation.

More
4 years 9 months ago #79686 by DenisChenu
It's not in the bounced email header, but in the first heaader.
X-surveyid: 41617
X-tokenid: wbjgw8yijrmaqb9

LS can't use the bounced email header because we can not be sure of the mail server behind.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
4 years 9 months ago #79703 by swendell
So how do I get this to work?

Please Log in to join the conversation.

More
4 years 9 months ago #79704 by DenisChenu
In LS, we use the imap_body.....
$header = explode("\r\n",@imap_body($mbox,$count,FT_PEEK));

Did it work for you or not ?
We don't delete the message, it's a choice. Because, we can see difference between relar error and false error.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
4 years 9 months ago #79707 by swendell
All I know is the bounces are not being processed. what steps do I need to take to resolve this?

Please Log in to join the conversation.

More
4 years 9 months ago #79717 by DenisChenu

swendell wrote: All I know is the bounces are not being processed. what steps do I need to take to resolve this?

Bounced mail aren't set bounced in token table ?

Did you have some error when you try to check bounced mail ?

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
4 years 9 months ago #79727 by swendell
Bounced mail are not set bounced in token table
When i check bounced mail, none are processed as bounced but no error

Please Log in to join the conversation.

More
4 years 9 months ago #79729 by swendell
To be specific, when clicking bounce processing the message says, "Summary - 1 messages were scanned, none were marked as bounced by the system"

Please Log in to join the conversation.

More
4 years 9 months ago #79730 by DenisChenu
I use this functionnality tomorrow and it working fine.

Can you put the message body here (in code) ?


Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
4 years 9 months ago #79741 by swendell
Dear {FIRSTNAME},

you have been invited to participate in a survey.

The survey is titled:
"Professional Settlements Services Notary Survey"

""

To participate, please click on the link below.

Sincerely,

Survey Administrator Aaron (This email address is being protected from spambots. You need JavaScript enabled to view it.)

Click here to do the survey:
{SURVEYURL}

If you do not want to participate in this survey and don't want to receive any more invitations please click the following link:
{OPTOUTURL}

<html><head><title></title></head><body>Dear {FIRSTNAME},<br />
<br />
you have been invited to participate in a survey.<br />
<br />
The survey is titled:<br />
"Professional Settlements Services Notary Survey"<br />
<br />
""<br />
<br />
To participate, please click on the link below.<br />
<br />
Sincerely,<br />
<br />
Survey Administrator Aaron (This email address is being protected from spambots. You need JavaScript enabled to view it.)<br />
<br />
<br />
Click here to do the survey:<br />
{SURVEYURL}<br />
<br />
If you do not want to participate in this survey and don't want to receive any more invitations please click the following link:<br />
{OPTOUTURL}</body></html>

Please Log in to join the conversation.

More
4 years 9 months ago #79934 by swendell
Help any response would be good..
I added the message body
Do you need a special tag for token/survey ID in the message body for bounce processing to function?

Please Log in to join the conversation.

More
4 years 9 months ago #79971 by DenisChenu
Hello,

It's the mesage body of the original message, not this one of the bounced message.

In bounced message, you have something like that:
X-surveyid: 41617
X-tokenid: wbjgw8yijrmaqb9
But in the source code of the message, not the message itself.

LS use the body source code.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
4 years 9 months ago #79981 by swendell
I posted the message for you in this thread from LS, was that wrong? If wrong; where would I find what you are looking for above? Does LS have an email log. I do not think the email server has a copy of sent messages?

Please Log in to join the conversation.

More
4 years 9 months ago #79982 by swendell
From Survey Administrator Aaron Mon May 7 09:00:21 2012
X-Apparently-To: This email address is being protected from spambots. You need JavaScript enabled to view it. via 67.195.22.86; Mon, 07 May 2012 09:00:25 -0700
Return-Path: <This email address is being protected from spambots. You need JavaScript enabled to view it.>
Received-SPF: none (domain of professionalsettlements.net does not designate permitted sender hosts)
IG1ha2UgeW91ciBqb2IgbW9yZSBjb252ZW5pZW50IGZvciB5b3UuIFBsZWFz
ZSBmb2xsb3cgdGhlIGxpbmsgYXZhaWxhYmxlIGJlbG93LCB0byBnaXZlIHVz
IGlucHV0IHRoYXQgd2lsbCBoZWxwIHVzIGF0IFByb2Zlc3Npb25hbCBTZXR0
bGVtZW50IFNlcnZpY2VzIGFjY29tbW9kYXRlIHlvdSBpbiB5b3VyIHdvcmss
IGFzIHdlbGwgYXMgaW5jcmVhc2UgZWZmaWNpZW5jeS4gVGhpcwEwAQEBAQN0
ZXh0L3BsYWluAwMwAgN0ZXh0L2h0bWwDAzI-
X-YMailISG: zlWYspwWLDvx.lRLkzW6XXM7kRQ8g.Y6OyG_gdygKcz938_U
bHdd6rI8oCbTNfktlFFFXq3Unpa5F.xqJHeCMmg40x9yB8jdtXkI7DMymtzA
IaQVNZgbL.TfmPDZQFRoBYAaSW2YbYbLQp60E1TLnR2NNuXrbN8y3Pbr6dza
P72KTdC1fGx41njGN06LfmgIqkTGgT17PD0AjwK_MJKCsttkll_gr.wtrEfG
.jI8FjsKq_1of2tzUKTc9Zpqa3NZ9vmUxW2yCytrAyDQQWnGFZOHMEPQXoDW
6puoVgn4qBfNJoB3jbaxKeSWDhhsiF7JkGNVWqap.BzMDdZk2vsgflcRJGI4
cniCjm_CMDCxK8_NNP.Ah.HXMrdihqI4O5b.kfV_ClK80gShUWs03r9Sgg_5
PScUsZWTdRrIlUUvj9xmdnwmoNuba3dVkbdWb76gnkWm0fz9wudNgv9.2UjQ
.Ny8aMKgkyA7IOgfm_f9GxSY53hnR4uRkCdELgIq8IKAWCcSerV16PR_4LvG
wOPo7nL2sdslnlFAiVCIsRJlSjokWw6QoGDf4AEOuDyn_RDnvXcO9Db7HHl.
ZGQw.8IaGk_nRhqYwvAGy2B.OF8XXo170xugSSkjVretc_LAI8qIxkc.1mQM
dw62K28USfqERUCKb8_tWYIVcKCGbEcCa2.y4vbAl1AM0jvJoQs3Pm.DzDq0
BF5weVm4I5zPkKQtoEAO9lT4PyfLvsnOeIW2HwtzLWQeZhWbujn5aO62IkK5
UQKkvBoRZQD820ESIf7fzkQSCi3tK0jrhESVJ6zhPxrMg1CQd9N002QipC6N
fwyhwCPWvJvX.y8ll9sJwgSWW6mKd.LCKDDZ2jKbfKhcpDeKqKv7iG6_gFai
wYiHl90A4HP6JiZ82O_wPDxz6GOyvS2WhWnu.iPpLZWCTkTBvwBLkeGjYuQ0
AeetXTfYYixQv7h4TH5zolEetZ2VYz7K9YZUwDPL1cgN3.Gfzw1.nTG_2U93
whROTeaFnQbo3pCyDLnGgt9aVluUTJDkfWx27V9awBdv9UtJ27ChHVTEeBnG
OMKyJ9PKpmXnb4yc4lf4hST6d.D.4AQb7hMiFPa1QUm08BGvVirGHXAD9xqG
o_Rseg8uWYqExueQep9HOrjfXGsuu9sY.Nks8TGTfufNWx3XNBLVQOtco9.H
n9pf4Jis0MC46O68yLYuaYjVpX3i1ysLuZ6f3479k4mAAO_4MPmpNMLmixf4
2lgiQJxHtPVJpRyLQ8ltlQ7j0y1RpDCCO8vKCQ578789vXD5k3iFD9CT
X-Originating-IP: [66.153.17.21]
Authentication-Results: mta1188.mail.mud.yahoo.com from=professionalsettlements.net; domainkeys=neutral (no sig); from=professionalsettlements.net; dkim=neutral (no sig)
Received: from 127.0.0.1 (HELO professionalsettlements.net) (66.153.17.21)
by mta1188.mail.mud.yahoo.com with SMTP; Mon, 07 May 2012 09:00:25 -0700
Received: from professionalsettlements.net ([184.168.81.211])
by professionalsettlements.net
; Mon, 7 May 2012 12:00:31 -0400
Date: Mon, 7 May 2012 16:00:21 +0000
Return-Path: This email address is being protected from spambots. You need JavaScript enabled to view it.
To: Scott Wendell <This email address is being protected from spambots. You need JavaScript enabled to view it.>
From: Survey Administrator Aaron <This email address is being protected from spambots. You need JavaScript enabled to view it.>
Reply-to: Survey Administrator Aaron <This email address is being protected from spambots. You need JavaScript enabled to view it.>
Subject: =?utf-8?B?SW1wb3J0YW50IEluZm9ybWF0aW9uIEZvciBPdXIgTm90YXJpZXM=?=
Message-ID: <This email address is being protected from spambots. You need JavaScript enabled to view it.>
X-Priority: 3
X-Mailer: PHPMailer 5.1 (phpmailer.sourceforge.net)
X-surveyid: 72383
X-tokenid: 1234
X-Surveymailer: LimeSurvey Emailer (LimeSurvey.sourceforge.net)
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="b1_e2c33c5a882bc721d4f96d303945a161"
Content-Length: 2666

Please Log in to join the conversation.

More
4 years 9 months ago #79991 by DenisChenu
You have the good think :
X-surveyid: 72383
X-tokenid: 1234
But it's a sending mail, not a bounced mail. In the bounced mail : this are in body or in attachement.

Did you have acces to the mail for bounced ? An imap acces is a good solution, if you acces it in pop3 you remove the message, the LS can look at it.

And LS look only at not read mail.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form