Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:
  • Page:
  • 1
  • 2

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

Bounce Processing - missing survey and token header info in bounce email 4 years 6 months ago #80070

  • swendell
  • swendell's Avatar
  • Offline
  • Junior Lime
  • Posts: 24
  • Karma: 0
Q: Should there be an attachment to each bounce mail containing the token/survey ID that LS checks?

A: Yep, attachment or included.

I have neither; what should I do to make this work?
The administrator has disabled public write access.

Bounce Processing - missing survey and token header info in bounce email 4 years 6 months ago #80134

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9580
  • Thank you received: 1374
  • Karma: 390
swendell wrote:
I have neither; what should I do to make this work?
I don't understand why it don't work.

Did you put the "not read" flag in the mail.
Because LS look only at "non-read" message ( it's for memory consomption).

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 (use private message).
The administrator has disabled public write access.

Bounce Processing - missing survey and token header info in bounce email 4 years 6 months ago #80136

  • swendell
  • swendell's Avatar
  • Offline
  • Junior Lime
  • Posts: 24
  • Karma: 0
It does process the NEW (not read) message BUT takes no action.
The administrator has disabled public write access.

Bounce Processing - missing survey and token header info in bounce email 4 years 6 months ago #80150

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9580
  • Thank you received: 1374
  • Karma: 390
Hello,

I saw just somemore investigation to do. Don't know difference bettween your installation and mine :).

In admin/token.php:
Change
[code type=php-brief]if(@$mbox=imap_open('{'.$hostname.$flags.'}INBOX',$username,$pass))[/code]

by
[code type=php-brief]if($mbox=imap_open('{'.$hostname.$flags.'}INBOX',$username,$pass))[/code]

Maybe something with date time too ?

Put some "echo" after date test:
$datelastbounce= $datelcu;
$lastbounce = $thissurvey['bouncetime'];
echo "datelastbounce: $datelastbounce -- lastbounce: $lastbounce</br>";

( SMTP server / Imap server/ web server are on the same computer ?)

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 (use private message).
The administrator has disabled public write access.

Bounce Processing - missing survey and token header info in bounce email 4 years 6 months ago #80192

  • swendell
  • swendell's Avatar
  • Offline
  • Junior Lime
  • Posts: 24
  • Karma: 0
Q: "SMTP server / Imap server/ web server are on the same computer ?)"
A: Yes
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.276 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form