Hello,
I have upgraded simplenews and mimemail, but i have a problem with che body of email.
The variable is not exploded, so the unsubscribe link and statistics are not working!

I found similar problem in the issue, but they are old, i have this problem with the last release!

Regards.

Comments

sutharsan’s picture

Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

I don't understand your problem. What variables? Do you use templates? Does the problem still exist with the latest releases? Does the problem occur without mime mail?

guru81’s picture

I have simplenews 6.x-1.0, i dont'use template, and i have disabled mimemail, but the problem persist.
The variable is:
!confirm_unsubscribe_url

inside the file simplenews-newsletter-footer.tpl.php.

Regards.

sutharsan’s picture

Category: bug » support
Status: Postponed (maintainer needs more info) » Active

I've tried but can not reproduce your problem. Are you sure you use the right template? the variable is not miss spelled?

guru81’s picture

Right template? <- What is this?

Inside the email the url is:
http:///newsletter/confirm/remove/8acd182182615t632

instead of:
http://www.mysite.com/newsletter/confirm/remove/8acd182182615t632

Regards.

sutharsan’s picture

Assigned: Unassigned » sutharsan
Category: support » bug

*.tpl.php = template
Your example URL makes it all much clearer now.

sutharsan’s picture

Version: 6.x-1.0-rc6 » 6.x-1.x-dev
Status: Active » Fixed

I thought I could do more, but I can only document it better. README.txt is now updated with:

    If your unsubscribe URL looks like:
      http:///newsletter/confirm/remove/8acd182182615t632
    instead of:
      http://www.mysite.org/newsletter/confirm/remove/8acd182182615t632
    You should change the base URL in the settings.php file from
      #  $base_url = 'http://www.example.com';  // NO trailing slash!
    to
      $base_url = 'http://www.mysite.org';  // NO trailing slash!
sutharsan’s picture

Title: variable not exploded link errors in newsletter body » Missing site name in unsubscribe URL

Updating title for search engines.

guru81’s picture

Very good!
Now works perfectly!

Thank you very much.

sutharsan’s picture

Assigned: sutharsan » Unassigned

Thanks for testing and reporting.

likewhoa’s picture

funny thing is that it works with newsletters with 5 subscribers but not with a newsletter with 4000+ emails. I have set $base_url and will report if this fixes it for the 4000+ subscribers. Thanks

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

hansrossel’s picture