How do I send emails outside my domain with Exchange 2007 and c#

前端 未结 4 2091
情歌与酒
情歌与酒 2021-02-10 05:43

I am able to send emails using the typical C# SMTP code across Exchange 2007 as long as both the from and to addresses are within my domain.

As soon as I try to send ema

4条回答
  •  感动是毒
    2021-02-10 06:22

    You'll need to get your exchange admin to configure exchange to allow sending outside the domain. In my experience they've been reluctant to do so because of spam concerns.

    If its' for limited use, you can set up server-side rules in exchange to forward messages meeting certain criteria outside the domain. You might be able to use VBA in these as well to pretty things up, but I am not sure.

提交回复
热议问题