Welcome, Guest
Username: Password: Remember me

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

Bounce Processing - missing survey and token header info in bounce email 2 years 5 months ago #79660

  • swendell
  • swendell's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 24
  • Karma: 0
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...
The administrator has disabled public write access.

Re: Bounce Processing - missing survey and token header info in bounce email 2 years 5 months ago #79686

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6429
  • Thank you received: 839
  • Karma: 249
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
The administrator has disabled public write access.

Re: Bounce Processing - missing survey and token header info in bounce email 2 years 5 months ago #79703

  • swendell
  • swendell's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 24
  • Karma: 0
So how do I get this to work?
The administrator has disabled public write access.

Re: Bounce Processing - missing survey and token header info in bounce email 2 years 5 months ago #79704

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6429
  • Thank you received: 839
  • Karma: 249
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
The administrator has disabled public write access.

Re: Bounce Processing - missing survey and token header info in bounce email 2 years 5 months ago #79707

  • swendell
  • swendell's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 24
  • Karma: 0
All I know is the bounces are not being processed. what steps do I need to take to resolve this?
The administrator has disabled public write access.

Re: Bounce Processing - missing survey and token header info in bounce email 2 years 5 months ago #79717

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6429
  • Thank you received: 839
  • Karma: 249
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
The administrator has disabled public write access.

Re: Bounce Processing - missing survey and token header info in bounce email 2 years 5 months ago #79727

  • swendell
  • swendell's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 24
  • Karma: 0
Bounced mail are not set bounced in token table
When i check bounced mail, none are processed as bounced but no error
The administrator has disabled public write access.

Re: Bounce Processing - missing survey and token header info in bounce email 2 years 5 months ago #79729

  • swendell
  • swendell's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 24
  • Karma: 0
To be specific, when clicking bounce processing the message says, "Summary - 1 messages were scanned, none were marked as bounced by the system"
The administrator has disabled public write access.

Re: Bounce Processing - missing survey and token header info in bounce email 2 years 5 months ago #79730

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6429
  • Thank you received: 839
  • Karma: 249
I use this functionnality tomorrow and it working fine.

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


Denis
The administrator has disabled public write access.

Re: Bounce Processing - missing survey and token header info in bounce email 2 years 5 months ago #79741

  • swendell
  • swendell's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 24
  • Karma: 0
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>
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.238 seconds
Donation Image