1

I want to start using the newsletter on my site. I have three users so I know which email is used. When I try to register a user for the newsletter it gives me an error:

"Er was een probleem bij het inschrijven: Dit emailadres wordt al door een andere gebruiker gebruikt"

That is Dutch for:

"This email address is already assigned to another user." coming from locale mage_newsletter

Tried different email addresses but always the same message. Anyone who can help me with this? I could not find anything on google about this. I am rather new to magento. version 1.9.0.1

Thanks in advance. Aaron

1 Answer 1

1

The controller that process newsletter subscription is

app\code\core\Mage\Newsletter\controllers\SubscriberController.php

and the condition that arises this message seems like this

if ($ownerId !== null && $ownerId != $customerSession->getId()) {
    Mage::throwException($this->__('This email address is already assigned to another user.'));
}

As you can see this code checks whether the customer assigned with given email address matches with email address of logged in customer. If those customer ids do not match, then it will raise this error.

So my assumption is email address that you provided through newsletter and current logged in email address is different. That is why it raises this error.

If the error is not because of this, then you need to dig more from this file.

1
  • thanks, stupid of me :-) Did not know it was acting that way. There is another problem though. When I get the confirmation mail and click on the link it tels me that I am unsubscribed from the newsletter. In the backend it also tels me that I am unsubscribed.... any idea :-) Sep 17, 2014 at 20:47

Not the answer you're looking for? Browse other questions tagged or ask your own question.