prabha_friend
Prabhakaran Karuppaih
- Local time
- Today, 12:05
- Joined
- Mar 22, 2009
- Messages
- 881
Possible?
Kindly conclude.
Thanks.
Kindly conclude.
Thanks.
Yes.Possible?
Thanks for the reply Doc. I am building a web App using asp.net which needs to send emails for member registration to send the verification code/links. But unfortunately, in my office (in the high levels, SMTP Ports are disabled)Can you clarify what is going on? Because on one hand, your answer is "no chance in Hell" and on the other hand we might be able to offer some kind of alternative with a kinder, gentler interface.
Expecting more from you sonicYes.
Dim mySMTP As New SmtpClient()
With mySMTP
.Credentials = New NetworkCredential("arrow.prabhakaran@gmail.com", "jfhfhf")
.EnableSsl = True
End With
My reply was equally detailed as your question.Expecting more from you sonic
If you have genuine need to send email, as requested by the business-side stakeholders of your ASP.Net application, the relevant ports for the application should be opened for your application.But unfortunately, in my office (in the high levels, SMTP Ports are disabled)
We are just trying to push the boundaries as much as possible from our department side. You know. If we go to the IT department, we have to go formally from creating indents to multiple approvals. Imagine if there is a way to send and receive emails without those hassles!!!If you have genuine need to send email, as requested by the business-side stakeholders of your ASP.Net application, the relevant ports for the application should be opened for your application.
SMTP is a standard protocol and has the benefit that you can easily swap mail servers or providers without changing the code of your application.
If you absolutely cannot use STMP directly, there are Email providers (e.g. Mailgun, SendGrid, or even the Microsoft 365 platform), which allow you to send emails with a REST-API call instead of SMTP.
I know, I know.You know. If we go to the IT department, we have to go formally from creating indents to multiple approvals.
No. It's not like that. Our institute is just growing. Please try to see this way: "What if the IT doesn't know how to enable that?" That is the case in most of our institute infrastructure. I (also my team and my managers) are not trying to break our institution's law but basically we just don't want trouble other teams...I know, I know.
But...
It is not a good idea to run an ASP.Net application inside your corporate network without involving the IT department. This might get you into trouble once IT finds out. If they are any good, they will find out eventually.
Please try to see this way: "What if the IT doesn't know how to enable that?" That is the case in most of our institute infrastructure.