使用电子邮件身份验证注册,只有30%被激活? [英] Signup with email authentication, only 30% are activated?

查看:211
本文介绍了使用电子邮件身份验证注册,只有30%被激活?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用php和mysql。我的网站是闪存(完整的Flash网站)



我有一个网站,让用户注册。注册过程包括发送激活电子邮件,点击链接激活帐户。



前两周是好的。在2000个用户中,1800个用户被激活。之后,激活的用户大幅下降到30%左右。例如:1000个用户注册,只有300个被激活。



起初我发现问题是因为电子邮件无法到达ymail,msn和gmail用户。 (我的大多数订阅者是Ymail(yahoo),hotmail / msn(live)和gmail(gmail))。我尝试使用ymail和hotmail注册,但我没有得到任何激活电子邮件。我联系了雅虎和msn,最终我的电子邮件可以通过现在。



然而,我的注册统计数据仍然显示,激活的用户只有约30%,这很混淆我。我联系我的托管公司,问他们白名单我的IP。



我需要您的建议/帮助以下问题:




  • 如何检查问题所在?电子邮件没有交付吗?用户收到电子邮件但没有点击激活链接?



我正在使用php邮件功能。这是我的标题:

  $ headers ='MIME-Version:1.0'。 \r\\\
;

$ headers。='Content-type:text / html; charset = UTF-8'。 \r\\\
;

$ headers。='From:Admin< \admin@domain.com>'。 \r\\\
;

$ headers。='退货收据:退回< \bounce@domain.com>'。 \r\\\
;

$ headers。='回覆至:管理员< \admin@domain.com>'。 \r\\\
;

$ return_path =\bounce@domain.com\;

(我隐藏我的域名,我在电子邮件中添加反斜杠,如果没有,那么电子邮件不会



标题有什么问题吗?




  • 我可以做些什么来改善注册/注册激活过程?


解决方案

返回路径为mail()函数的-f参数:

 邮件(
$ this->收件人,
$ subj,
$ this-> body,
$ this-> compose_headers(),
'-f'。Options :: obj() - > MAIL-> return_path);

另外,为了获得最佳效果,如果发送服务器的公有域名为example.com, return / path / / p>

I am using php and mysql. And my site is in flash (full flash site)

I have a website which let users to sign up. The signup process including sending "activation email", click link to activate account.

The first two weeks was fine. Out of around 2000 users, 1800 users are activated. After that, the activated users drop drastically, to about 30%. Example: 1000 users signup, only 300 were activated.

At first, I found the problem is because the email could not be reach to ymail, msn and gmail users. (Most of my subscribers are Ymail (yahoo), hotmail/msn(live) and gmail (gmail)). I tried signup using ymail and hotmail, but i didnt get any activation email. I contacted yahoo and msn, eventually my email can go through now.

However, my signup statistic still showing, the activated users are only about 30%, which very confuse me. I contact my hosting company, ask them the whitelist my IP. And they did it.

I need your advice/help on following questions:

  • How to check where the problem lies? Is the email not delivered? User receive email but didnt click the activation link?

I am using php mail funstion. and this is my headers:

  $headers = 'MIME-Version: 1.0' . "\r\n";

  $headers .= 'Content-type: text/html; charset=UTF-8' . "\r\n";

  $headers .= 'From: Admin <\admin@domain.com>' . "\r\n";

  $headers .= 'Return-Receipt-To: Bounce <\bounce@domain.com>' . "\r\n";

  $headers .= 'Reply-To: Admin <\admin@domain.com>' . "\r\n";

  $return_path = "\bounce@domain.com\";

(I hide my domain name, and i add backslashes within emails, cuz if not, the email wont show here, weird)

Is there anything wrong with the headers?

  • What can I do to improve my registration/signup activation process?

解决方案

You should pass your return path as "-f" parameter for mail() function:

mail(
    $this->recipient,
    $subj,
    $this->body,
    $this->compose_headers(),
    '-f ' . Options::obj()->mail->return_path);

Also, for the best results, if the sending server has a public domain name example.com, the return path should be something@example.com.

Anyway, you should definitely check the logs (/var/log/mail*) to know exactly what's going on.

这篇关于使用电子邮件身份验证注册,只有30%被激活?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆