격리 · 검증 API
이메일 검증 API
주소를 입력받는 순간 검증하세요. 오타, disposable email, 고위험 주소가 목록 품질과 발신 평판을 해치기 전에 잡아냅니다.
# routing policy로 중요 이메일 전송 curl -sS -X POST 'https://app.sendarix.com/v1/email/send' \ -H 'Content-Type: application/json' \ -H 'X-API-Key: YOUR_API_KEY' \ -H 'Idempotency-Key: otp_8842' \ -d '{"to":"user@acme.com","template":"password_reset","routing_policy":"transactional-critical"}'
const sendarix = require("sendarix")(process.env.SENDARIX_KEY); await sendarix.email.send({ to: "user@acme.com", template: "password_reset", routingPolicy: "transactional-critical", idempotencyKey: "otp_8842" });
# Drop-in SMTP — 기존 통합 유지, control plane 확보 host: smtp.sendarix.com port: 587 (STARTTLS) username: "your_sending_key" header: X-Sendarix-Policy: transactional-critical
보내기 전에 검증
모든 hard bounce는 미리 잡았어야 할 주소에서 시작됩니다.
잘못된 주소는 비용과 평판을 잃게 합니다. 입력 시점 검증은 전달 불가능한 메일이 발신 평판에 닿기 전에 막습니다.
잘못된 주소의 일반적인 원인: 오타(user@examplecon.com), disposable domain(mailinator.com), role account(info@, admin@), 지속적으로 bounce 또는 complaint를 만드는 고위험 domain.
수행되는 검증 체크
각 주소는 여러 체크를 통과합니다. Syntax는 빠르지만 얕고, MX lookup은 대부분의 전달 불가능 주소를 잡아냅니다.
Syntax 검증
RFC 5321/5322 호환 형식 체크입니다. @ 누락, 잘못된 문자, malformed domain label 같은 주소를 거부합니다.
MX record lookup
MX DNS record를 확인해 domain이 메일을 받을 수 있는지 검증합니다. Syntax가 놓치는 domain 오타를 잡는 가장 중요한 체크입니다.
Disposable email 탐지
알려진 disposable provider의 실시간 database를 확인합니다. 이런 주소는 빠르게 bounce되고 spam trap 신호를 만들며 비즈니스 가치가 없습니다.
Role account 탐지
개인이 아닌 그룹에 속해 engagement가 낮은 role-based 주소(info@, admin@, support@)를 식별합니다.
Deliverability score
각 주소는 과거 데이터, domain reputation, 위험 요소를 기반으로 0-100 점수를 받습니다. signup에서 최소 기준을 적용하세요.
Suggestion engine
오타가 감지되면 API가 수정안을 반환합니다: user@gmial.com -> user@gmail.com. 일반적인 domain 오타를 자동으로 잡습니다.
API request와 response
단일 주소 검증
GET /v1/validate?address=user@example.com
Authorization: Bearer sk_live_...
전달 가능 response
{
"address": "user@example.com",
"result": "deliverable",
"score": 92,
"checks": {
"syntax": "pass",
"mx": "pass",
"disposable": "pass",
"role_account": "pass"
},
"suggestion": null,
"risk_factors": []
}
고위험 response
{
"address": "user@mailinator.com",
"result": "undeliverable",
"score": 0,
"checks": {
"syntax": "pass",
"mx": "pass",
"disposable": "fail",
"role_account": "pass"
},
"suggestion": null,
"risk_factors": ["disposable_email_domain"]
}
애플리케이션에서 검증할 위치
Signup 및 등록 form
Blur 또는 submit 시 검증하고 오타는 inline correction으로 보여주세요. 신규 사용자 획득 flow에서 bounce rate를 15-30% 줄일 수 있습니다.
Checkout 및 계정 생성
거래 완료 전에 검증하세요. 확인 메일이 전달되지 않으면 문제가 생겼을 때 고객에게 구매 기록이 남지 않습니다.
Import 및 bulk upload
목록에 추가하기 전 모든 주소를 검증하세요. 대량 import는 webhook으로 비동기 결과를 반환하며, 확인된 deliverable 주소만 추가합니다.
Onboarding email capture
Onboarding wizard에서 email을 받는다면 그 지점에서 검증하세요. 사용자가 오타를 고칠 만큼 참여 중일 때 문제를 잡을 수 있습니다.
검증 threshold
모든 실패가 사용자를 막아야 하는 것은 아닙니다. 위험 허용도에 맞게 threshold를 설정하세요.
점수 80+. 모든 핵심 체크 통과. 발송 안전.
점수 50-79. 사용자에게 수정안을 제안하고 재검증 대상으로 표시합니다.
점수 50 미만. Disposable domain, 명확한 제안 없는 오타, 또는 MX 실패.
관련 제품
