View Issue Details

IDProjectCategoryView StatusLast Update
0004463OXID eShop (all versions)1.05. Userspublic2012-11-22 10:50
ReporterWBL_BjoernLange Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product VersionPast development 
Fixed in Version4.6.6 revision 54646 
Summary0004463: oxnewssubscribed should be fixated for the mail adress and not for the user
DescriptionoxUser::getNewsSubscription:

if ( !$this->_oNewsSubscription->loadFromUserId( $this->getId() ) ) {
    if ( !$this->_oNewsSubscription->loadFromEmail( $this->oxuser__oxusername->value ) ) {

The Double Opt is used to validate if the mail address really exists and if the user wants to get the newsletter. To fixate the state for the user instead for the mail address does not fulfill these requirements imho.
TagsNo tags attached.
ThemeBoth
BrowserAll
PHP Versionany
Database Versionany

Activities

dainius.bigelis

2012-10-31 16:23

reporter   ~0007693

When request for subscription is sent by user (i.e. during the registration), who created an account: this user can change his email at some moment later. But once he confirmed the subscription via double opt in - I think it's not needed to ask him again on each email change. Thus - binding to user account has more sense than binding to email.
but @Developers: please check that from the source code if that works correctly, also in cases, when user without account subscribes for newsletter (then record to oxuser table is still created with supplied data).

leofonic

2012-10-31 20:36

reporter   ~0007695

I think Bjoern may have thought of legal requirements, if the mail address has not been verified it may not be legal to send a newsletter to that address. The new address may belong to someone else.

WBL_BjoernLange

2012-11-05 20:16

reporter   ~0007712

Yes leofonic, you got me right.

aurimas.gladutis

2012-11-22 10:50

reporter   ~0007948

Hi, subscriptions is still fixated to user account, but we are now sending subscription confirmation on email change.

If you have any further questions regarding emails, please reopen this ticket.