Skip to content

Unsubscribe link produced email address is invalid

edited October 2017 in Troubleshooting

Hi,

I have a new installation and I've only added a couple of subscribers to test it out. From my first campaign, the unsub link produces a page with the error message email address is invalid.

I have seen a previous ticket about openssl but I don't think that's the problem as I contacted my host and I'm using php 7.1 which has openssl on by default. Not sure where to go from there.

Thanks.

Comments

  • BenBen
    edited December 2017

    Hi,

    Hope you have seen this thread → https://sendy.co/forum/discussion/10500/email-address-is-invalid-on-unsubscribe#Item_6

    If it does not work, it's likely due to the CLI version of PHP is on another version that doesn't have or support openssl. Try using the curl version of cron job instead of php for scheduled.php:

    */5 * * * * curl -L -s http://your_sendy_installation_url/scheduled.php > /dev/null 2>&1
    

    Then send a test campaign to a test list with your own email address inside and see if the unsubscribe link is working now.

    Thanks.

    Best regards,
    Ben

  • Thanks Ben - I had seen that earlier thread but I didn't have that php line in the htaccess. Anyway, the curl cron must've done the job as unsubscribe now works. Should I change the autoresponder cron to a curl version as well? If I should, could you help me out with the command line I need please?
    Thanks,
    Mikey

  • BenBen
    edited October 2017

    The cron job for autoresponders is similar, please see below:

    */1 * * * * curl -L -s http://your_sendy_installation_url/autoresponders.php > /dev/null 2>&1
    

    Thanks.

    Best regards,
    Ben

  • Thanks Ben, you're a star. This is resolved.

This discussion has been closed.