Add: php MailSender class

This commit is contained in:
2019-04-30 12:04:43 +09:00
parent 009a7393b8
commit a0ab277256
7 changed files with 204 additions and 9 deletions
+31
View File
@@ -0,0 +1,31 @@
<?php
class MailSetting {
// 호스트 URL
public $hostNameUrl = "https://mail.apigw.ntruss.com";
// 요청 URI
public $requestUrl= "/api/v1/mails";
// 네이버 클라우드 플랫폼 회원에게 발급되는 개인 인증키
public $accessKey = "qNXWk443wdnDXrkPvoqr";
// 2차 인증을 위해 서비스마다 할당되는 service secret
public $secretKey = "umWxQXulhNSya2CkMNqqVJnSRfwRaN8BjMUX0skV";
// API Gateway에서 발급받은 키 (primary key 또는 secondary key)
public $apiKey = "eWfapJfbR5W9NXPEsdXGzlJsShEV30DfxIV0d51J";
// 요청 method mail 발송 : POST, 발송 확인 GET
public $method = "POST";
// 요청 ID
public $requestId = "";
public $space = " ";
public $newLine = "\n";
}
?>