如何将MX记录分配给域 [英] how to assign MX record to the domain

查看:67
本文介绍了如何将MX记录分配给域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过webrequest发送xml,如果webrequest成功,则会创建一封电子邮件。

但是,我目前从网络响应中收到错误,例如 - 域名answer.domain.com没有有效的MX记录 < br $> b $ b

如何为我的电子邮件地址设置mx记录?

I am sending xml via a webrequest, and if the webrequest is successful, it creates an email.
however, I am currently getting a error, from the web response, such as- "The domain reply.domain.com doesn't have a valid MX record"

How can I setup up mx record for my email address?

pubic static string xml()
{
XElement xeRoot = new XElement("mail_job");

XElement xeStatus = new XElement("subject", "Draft");
xeRoot.Add(xeStatus);

XElement xeDisplayDate = new XElement("from_name", "####");
xeRoot.Add(xeDisplayDate);

XElement xeDisplayTitle = new XElement("from_address", "info@reply.domain.com");
xeRoot.Add(xeDisplayTitle);

XElement xeTemplate = new XElement("reply_address", "info@reply.domian.com");
xeRoot.Add(xeTemplate);
}


 public static string WRequest()
{
string URL = Response.createEmailURL();
string method = "POST";
string postData = xml();

string responseData = "";
int statusCode;
//rest of the code

}





任何提示都会有帮助吗?

谢谢



Any hints would be most helpful?
Thank you

推荐答案

reply.domain.com不存在?

更改某个工作地址
reply.domain.com is not exists ?
change it for some working address


这篇关于如何将MX记录分配给域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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