作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
这可能是我唯一的问题。我在 mailgun 帐户中的域名下收到此消息:Warning: Some of your domains (in red) have DNS configuration issues.
我该怎么办?我试过一个巨大的随机域名,它做同样的事情。
感谢您的观看!
-------------------------- 如果这不是我唯一的问题 ---------------- ----------------
我正在使用 parse.com 和 MailGun。我已经设置了所有解析内容,并且已经在 MailGun 上创建了一个帐户,并在 MailGun 上添加了一个自定义域名。这是我的iOS代码:
NSDictionary *params = [NSDictionary dictionaryWithObject:@"This is sent from your iPhone." forKey:@"text"];
[PFCloud callFunctionInBackground:@"emailGrocery" withParameters:params block:^(id object, NSError *error)
{
if(!error)
{
NSLog(@"Succeeded");
}
else
{
NSString *errorMsg = [[error userInfo] objectForKey:@"error"];
NSLog(@"%@", errorMsg);
}
}];
var Mailgun = require('mailgun');
Mailgun.initialize('domain.com', 'key');
Parse.Cloud.define("emailGrocery", function(request, response) {
Mailgun.sendEmail({
to: "myemail@gmail.com",
from: "myemail@gmail.com",
subject: "Hello from Cloud Code!",
text: "Using Parse and Mailgun is great!"
}, {
success: function(httpResponse) {
console.log(httpResponse);
response.success("Email sent!");
},
error: function(httpResponse) {
console.error(httpResponse);
response.error("Uh oh, something went wrong");
}
});
});
Warning: Some of your domains (in red) have DNS configuration issues.
最佳答案
我想分享 2 个屏幕截图,它们可能有助于在 Namecheap 中验证 Mailgun 的自定义域......我把头撞在墙上 2 天:)
Mailgun 有一个按钮检查您的 DNS 设置,有时它会给出误报,因此请尝试几次
关于email - 如何在 MailGun 上正确设置我的域?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18630957/
我是一名优秀的程序员,十分优秀!