gpt4 book ai didi

email - 如何在 MailGun 上正确设置我的域?

转载 作者:行者123 更新时间:2023-12-04 14:46:14 25 4
gpt4 key购买 nike

这可能是我唯一的问题。我在 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);
}
}];

这是来自 parse 的一个例子。我认为这是做它应该做的,因为我在日志中收到错误消息。

这是我被击中的云代码:
 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");
}
});
});

我有我的实际电子邮件地址作为发件人,另一个已知的电子邮件地址作为接收者。我总是得到错误响应。我有一个实际的域和 key 。在我的自定义电子邮件域名下的 mailgun 帐户中,有以下消息:
Warning: Some of your domains (in red) have DNS configuration issues.
我不知道我应该怎么做。我意识到这可能是我唯一的问题,但我该怎么做才能解决这个问题?

最佳答案

我想分享 2 个屏幕截图,它们可能有助于在 Namecheap 中验证 Mailgun 的自定义域......我把头撞在墙上 2 天:)

enter image description here

enter image description here

Mailgun 有一个按钮检查您的 DNS 设置,有时它会给出误报,因此请尝试几次

关于email - 如何在 MailGun 上正确设置我的域?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18630957/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com