[TYPO3-english] Corrupted Links in DirectMail Mails

Oliver Salzburg kinggencha at googlemail.com
Fri Oct 7 12:30:07 CEST 2011


On 2011-10-05 18:21, Oliver Salzburg wrote:
> I'm currently trying to get DirectMail to work to send out newsletters.
> The biggest problem with that right now is the unsubscribe link.
> This is the link I am using on the page which I want to send as a
> newsletter:
>
> <a
> href="index.php?id=27&amp;cmd=unsubscribe&amp;aC=###SYS_AUTHCODE###&amp;rid=###SYS_TABLE_NAME###_###USER_uid###">Unsubscribe</a>
>
>
> In the final mail I receive, this gets turned into:
>
> http://xxx.tld/index.php?id=27&cmd=unsubscribe&aC=&PHPSESSID=3c09f08142ca2282c399b347f0b968996d430c47&rid=f_1
>
>
> Now, first of all, I don't understand why ALL links in the mail have a
> PHPSESSID parameter added to it. But at least with all other links, the
> parameter isn't inserted right into the URL.
> As you can see, the "aC" parameter is left empty. But, in fact, its
> value is 6d430c47, which appears at the end of the PHPSESSID.
>
> When I adjust the dmailer to replace ###SYS_AUTHCODE### with the
> authcode wrapped in pipes, the result is this:
>
> http://xxx.tld/index.php?id=27&cmd=unsubscribe&aC=&PHPSESSID=3c09f08142ca2282c399b347f0b96899|6d430c47|&rid=f_1
>
>
> How is that even possible?
>
> Regards,
>
> Oliver

Alright, I just went ahead and disabled sessions without cookies for
the whole site. This fixes the links.
Hardly a solution, but working unsubscribe links in the newsletter is
kind of a big deal for our client.

I'd really be interested in proper solutions for this issue though.


More information about the TYPO3-english mailing list