留言板

Cannot send Email Confirmation to certain email providers

Yannis Arg,修改在9 年前。

Cannot send Email Confirmation to certain email providers

New Member 帖子: 5 加入日期: 12-12-18 最近的帖子
I have a Liferay 6.1.0ga1 Portal that requires email confirmation from new registered users.
Following my feedback from the Portal users, and testing with misc Email Providers I've noticed that:

- Users that use a gmail account for their account, have no problem at all
- Hotmail users will receive the 'welcome to our portal' and 'Email confirmation' emails, directly into their junk folder
- Yahoo users are receiving most of the sent emails (welcome email, reset pasword, etc) normally, but the email confirmation is never received, and cannot be found even in their Spam Folder. The same happens for every request for a new confirmation mail. In a certain case, the Confirmation email arrived a few hours later, but I cannot really reproduce this scenario.

This is becoming a blocker issue because yahoo users can't register to the portal.

Could it be that certain email providers are using a strict policy, are blocking the Confirmation Email, because it includes an activation email? I've thought of some solutions like
- Creating a register Hook that informs the new users that they could set their account to accept mails from my Portal
- Creating a hook that will use another Email Template for email confirmation, e.g including the confirmation Token and excluding the activation url

Can anyone provide some ideas on what is causing this behavior, and how could I make sure that all users can receive their confirmation emails ?
thumbnail
Tomas Polesovsky,修改在9 年前。

RE: Cannot send Email Confirmation to certain email providers

Liferay Master 帖子: 676 加入日期: 09-2-13 最近的帖子
Hi Yannis,

related to the Hotmail and spam, please see Olaf's response: https://www.liferay.com/community/forums/-/message_boards/view_message/4137984#_19_message_4737961

For the Yahoo users never receiving the email I'd try to dig local mail logs - add more verbosity and inspect the logs if there's anything wrong.

If this won't help I'd try to send the same email manually to Yahoo SMTP servers (using netcat or similar tool) to see what is the response and if the email is accepted.

If there is everything OK, Yahoo servers accept the email but it's not delivered, I'm sorry but you'd need to ask Yahoo for help.

I guess you already looked at https://help.yahoo.com/kb/receiving-emails-sln3517.html, but for sure I'm linking it here.
Yannis Arg,修改在9 年前。

RE: Cannot send Email Confirmation to certain email providers (答复)

New Member 帖子: 5 加入日期: 12-12-18 最近的帖子
Thank you for your answer Tomas. You've added lots of good things to look.

In my case, my mail domain was not setup with a reverse-dns, and got blocked from Yahoo
this post helped a lo too:
https://stackoverflow.com/questions/371/how-do-you-make-sure-email-you-send-programmatically-is-not-automatically-marked