내 유일한 문제 일 수 있습니다. 나는 mailgun 내 계정 내 도메인 이름 아래에이 메시지가 : 나는 그것에 대해 무엇을 할 수MailGun에서 도메인을 올바르게 설정하려면 어떻게해야합니까?
Warning: Some of your domains (in red) have DNS configuration issues.
? 난 거대한 임의의 도메인 이름을 시도하고 똑같은 않습니다.
사용해 주셔서 감사합니다.
-------------------------- 내 유일한 문제가 아닌 경우 ------------ --------------------
저는 MailGun에서 parse.com을 사용하고 있습니다. 나는 모든 파스 스터 셋업을 가지고 있으며 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: "[email protected]",
from: "[email protected]",
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.
내가 이것에 대해 무엇을해야하는지 알아낼 수 없습니다 : 내 사용자 지정 전자 메일 도메인 이름 아래 mailgun 내 계정에서이 메시지가있다. 그게 내 유일한 문제일지도 모르겠지만,이 문제를 해결하려면 어떻게해야합니까?