阻止SMPT端口时发送电子邮件的代码 [英] Code To Send Email When SMPT Port is Blocked

查看:121
本文介绍了阻止SMPT端口时发送电子邮件的代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi
全部,我设计了一个应用程序,其中每个步骤都将电子邮件发送给有专心的人,在我的开发系统上,我的代码触发了一封电子邮件,但是在客户端系统上,我无法发送邮件,原因是服务器上的SMTP端口被总部封锁了我可以编写代码以触发该服务器上的代码吗?是否有其他或替代方案可以满足客户要求?请给我任何建议或答案


问候
Diler Patel.

hi
All, I Design A Application Where On Each Step Email is Tiggred To Conncern Person, On My Development System my Code triggers A e-mail, but on client System i cant send mail reason is SMTP ports is blocked on server By Head office, How can i write a code to trigger a code On that Server ? Any Other or Alternative is there to do Achive Client Requirement? plz reply me any Suggestions or Answers


Regards
Diler Patel.

推荐答案

看人,检查代理...并且如果此端口被阻止并且紧急发送电子邮件,我建议将其放入try catch和在捕获中再次尝试使用其他端口发送电子邮件,以此类推,以确保已发送电子邮件

问候
look man check the proxy...and if this port is blocked and it is urgent to send email i advise to put it in try catch and in the catch try again to send email using another port and so on to insure that the email has been sent

regards


这篇关于阻止SMPT端口时发送电子邮件的代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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