发送 HTTP 标头后无法重定向
我正在使用 MVCContrib 及其 EmailTemplateService 发送 html 电子邮件。 发送电子邮件工作正常,但似乎无法正确处理电子邮件视图。当我尝试重定向到新操作时,出现以下错误:
“发送 HTTP 标头后无法重定向”
有谁知道如何解决此问题。非常感谢
桑德拉
I'm using MVCContrib and its EmailTemplateService to send html email.
Send email works fine but it doesn't seem to dispose email view properly. When I try to redirect to a new Action it gives the following error:
"Cannot redirect after HTTP headers have been sent"
Does anyone know how to fix this problem. Many thanks
Sandra
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
试试这个:
Try this: