如何在asp.net中获取电子邮件接收者的IP地址 [英] How to get IP Address of Email Receivers in asp.net
本文介绍了如何在asp.net中获取电子邮件接收者的IP地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hi Friends
如何在asp.net中获取电子邮件接收者的IP地址.
Hi Friends
How to get IP address of Email receiver in asp.net.
推荐答案
您不能.当您向用户发送电子邮件时,您的用户甚至可能没有IP,如果有,则对您隐藏.
好吧,(我知道我会为此感到遗憾),您可以在电子邮件中放置一个img标签以标识您的用户,并编写代码,以便获得他们的IP *如果*他们在其Web客户端中显示图片,就是这样.我不推荐这样做,如果邮件程序可以完成您的工作,至少会把您所有的邮件都放入垃圾邮件.
You can''t. Your user may not even HAVE an IP when you send them an email, and if they do, it is hidden from you.
Well, ( and I know I''ll regret this ), you could put an img tag inside your email that identifies your user, and write code so that you can get their IP *if* they show the image in their web client, but that''s about it. I do not recommend it, if the mail program works out what you''re doing, it will put all your mails in to spam, at least.
这篇关于如何在asp.net中获取电子邮件接收者的IP地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文