Skip to Content Skip to Menu

Bast way to block hotmail/outlook/live email addresses from registration

  • boyjahq
  • boyjahq
  • OFFLINE
  • Posts: 473
  • Thanks: 33
  • Karma: 3
2 years 5 months ago - 2 years 5 months ago #329558 by boyjahq
We have SO MANY problems with users that have hotmail.com or outlook.com or other Microsoft email addresses. They often do not receive our emails, or our emails are always sent to spam. We have put so many notices throughout the website, including on the registration page telling users with those email accounts to be sure to check the spam folder and to add us to the "Safe Senders and Domains" list, but we still continue to have problems. To investigate this further, I created a Hotmail account and tried registering. And yes, our first registration email (initial registration message which includes the email confirmation link) ended up in junk mail. But even more hopeless is that Hotmail inserts all kinds of strange symbols randomly into the email (mostly = signs). This includes inserting them into the confirm_code, which results in an error page when the user clicks the link (which of course is not correct because of the inserted symbols).

SO, we want to forbid the use of email addresses from such accounts. My question is: is it possible to generate an error message and not allow registration to proceed if an email address is input that includes @hotmail or @outlook or @live. ? If so, where would we do that? Is that something that we would apply within the email field under Community Builder Field Management? For example, can we simply add @hotmail to the Registration Forbidden Words list under Parameters/Validations? Or would it be an auto action?

We welcome any and all advice!
Last edit: 2 years 5 months ago by krileon. Reason: Added [#8964] tag to subject

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
2 years 5 months ago #329559 by krileon
Are you using the default pending registration message or have you supplied your own? If you have not supplied your own yet you should do so. Using the generic message could mean your email is matching every CB install that didn't change it as well. They may see that as a metric for determining spam. If you have supplied your own it sounds like it's not formatted properly.

What are the "strange codes" displaying as (e.g. weird squares)? Can you provide a screenshot and copy of the email body of a test account with the broken email?

I highly recommend you do not block one of the major email providers. Yes, you can use forbidden words to do this, but again I highly recommend you do not.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • boyjahq
  • boyjahq
  • OFFLINE
  • Posts: 473
  • Thanks: 33
  • Karma: 3
2 years 5 months ago - 2 years 5 months ago #329560 by boyjahq
We are using a custom email message, and our system is multilingual, so it is based on a language override.

This is what part of the message looks like in English when received by Hotmail. I have highlighted weird symbol insertions in red:



And this is what the Japanese version looks like:



We have set it so that we, as admins, receive the exact same email as is sent to the user and our emails do NOT contain these weird inserted symbols. It is ONLY the hotmail (or outlook) emails that have them. So we are confident that our email is formatted properly. Also, we have hundreds of new users every month and only those with Microsoft based emails are having this trouble, so we are confident that our email is formatted properly.
Last edit: 2 years 5 months ago by boyjahq.

Please Log in or Create an account to join the conversation.

  • beat
  • beat
  • ONLINE
  • Posts: 2169
  • Thanks: 463
  • Karma: 352
2 years 5 months ago - 2 years 5 months ago #329561 by beat
You should probably also check your e-mail server settings, as well as its utf-8 settings.

Try sending through your registration process (i.e. register a temporary test user with the temporary test-mail address) a registration mail to a mail-checking service, such as www.mail-tester.com/ - Outlook and Hotmail are very sensitive to misconfigured mail-servers.

Also avoid many red-colored letters in your emails. That is typically triggering spaminess

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info
Last edit: 2 years 5 months ago by beat.

Please Log in or Create an account to join the conversation.

  • boyjahq
  • boyjahq
  • OFFLINE
  • Posts: 473
  • Thanks: 33
  • Karma: 3
2 years 5 months ago #329564 by boyjahq
Since our server sends out hundreds of emails every day and only those with Microsoft email accounts have troubles, we are confident that our server settings are correct. But just in case I did a test with mail-tester.com and we got a 10/10 score.

Mail server is set with utf-8 as the default.

As another test, I changed the email that is sent from HTML to TEXT and still found that the message received with hotmail.com had the strangely inserted symbols, which also made the confirm email link not work.

As for red text, none of our emails contains red text. I only highlighted the weirdly inserted symbols with red to make them easier to be seen in my forum post.

Has Joomlapolis never had an issue with users that have Microsoft email addresses?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
2 years 5 months ago #329565 by krileon
It looks like entirely a UTF-8 encoding problem. Have you checked the headers within the raw email source data? Click the 3 dot menu when viewing the email in outlook then under View click View message source. You should find Content-Type in the source and should be set to text/html; charset=utf-8. This assumes you're not providing your own HTML email structure as CB won't set its own (which defaults to utf-8) unless overridden (if email begins with <html or <!DOCTYPE html> it will override CB).


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum