未收到C#电子邮件客户端邮件 [英] C# E-mail Client Mails Not Received
问题描述
我正在尝试编写一个应用程序,每天发送一次销售数据报告。我已经基本上成功创建了应用程序,并且我能够将我的报告通过电子邮件发送到某些电子邮件地址,例如gmail;但是,当我尝试向我公司内部服务器上的地址发送电子邮件时,电子邮件从不到达。我想知道是否有人知道什么可以允许gmail地址从我的应用程序接收电子邮件,但不允许其他服务器从我的应用程序接收邮件,下面是执行电子邮件的代码部分:
Hi, I am trying to write an application that will e-mail sales data reports once per day. I have largely succeeded in creating the application and I am able to e-mail my reports to some e-mail addresses such as gmail ones ;however, when attempting to send e-mails to addresses on my companies internal server the e-mails never arrive. I was wondering if anyone knew what could allow gmail addresses to receive e-mails from my application, but not allow other servers to receive mail from my application, below is the portion of code doing the e-mailing:
推荐答案
您确定您的电子邮件不会进入您的垃圾邮箱吗?我差点把自己疯了一次
Are you sure that your emails aren''t going to your junk mail boxes? I almost drove myself crazy that way once
你确定你的电子邮件不是你的垃圾邮箱吗?
Are you sure that your emails aren''t going to your junk mail boxes? I almost drove myself crazy that way once
当我检查公司的电子邮件地址时,我发现垃圾邮箱中没有电子邮件。当我发送到我的Gmail帐户时,电子邮件总是没有问题。
When I check my company e-mail address, I find no e-mail in the junk mail box. When I send to my gmail account, the e-mail always goes through with no problem.
我会检查公司电子邮件服务器上的日志,他们可能会被拒绝甚至做出来之前客户的电子邮件。
您是否从有效的电子邮件帐户发送电子邮件?你检查过那个电子邮箱吗?可能有目标无法访问等或其他可能更好地描述它的电子邮件。
I would check the logs on the company email server, they may be getting rejected before even making it to client''s emails.
Are you sending the emails from a valid email account? Have you checked THAT accounts email box? There might be like "destination unreachable" or something emails in there that might better describe it.
这篇关于未收到C#电子邮件客户端邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!