• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Update user account from bounced emails

Mouth

Well-known member
#1
Situation: There is currently no method for XF to take action on user accounts when email addresses are bouncing. Requesting an add-on to handle this.

Scenario/Summary:
1. Add phrase to header of outgoing emails sent from XF, with user id identifier
2. Check bounces email address (from /admin.php?options/list/emailOptions)
3. Check for phrase from header in #1 in bounced email, and take action on user account

Add-On Requirements/Details:
1. All emails sent from XF to contain a mail header with recipient user ID (eg. "X-XenForo-Recipient-UserID=xxxx")
2. Add to /admin.php?options/list/emailOptions to enter username/password and server address for the bounces email address
3. Cron task to POP/IMAP the bounces email account, and check/read unread emails
4. If unread email is a permanent bounce notifier contains X-XenForo-Recipient-UserID, execute a database query to update user record and set user state to 'Awaiting email confirmation (from edit)'. Mark email as read (or just delete it)
 

snoopy5

Well-known member
#2

HWS

Well-known member
#3
We already use a similar modification. Will ask if it is complicated to prepare it as an add-on to be released here.

FYI:
The header id tag is not necessary because XF allows a single user account per email address only. So you can determine the user account just from the e-mail address only.
 

Mouth

Well-known member
#6
We already use a similar modification. Will ask if it is complicated to prepare it as an add-on to be released here.

FYI:
The header id tag is not necessary because XF allows a single user account per email address only. So you can determine the user account just from the e-mail address only.
HWS, any update on this? What was the response to your asking?
Thanks :)
 

snoopy5

Well-known member
#8
update:

5 days later, but unfortunatley I still did not get an answer from HWS to my PM or here in this thread. So since February 14th no reaction. Seems unlikely that we will be successful..
 

jauburn

Well-known member
#11
Yeah, this should ideally be built in to xenforo because you don't want thread update email messages bouncing repeatedly. Bad for your IP address.