Skip to content

이메일 보내기

boong_u edited this page Nov 4, 2021 · 6 revisions

이메일 보내기

PATH

POST : /api/email

Request Header

Content-Type: application/json

Request Params

params Example Description Default
None None None None

Request Body

Key Example Description Default
name : String(Required) 박문호 메일 보내는 사람 이름. None
email : String(Required) olul95@naver.com 보내는 사람의 email None
text : String(Required) 이메일 보내기 테스트중입니다 문의 내용 None

Response

Example URL : {{baseURL}}/api/email

Success : 200

{
    "data": {
        "from": "takeus28@gmail.com",
        "to": "takeus28@gmail.com",
        "subject": "문호 오늘 생일이지롱.olul95@naver.com",
        "text": "호호호"
    }
}

Server Error : 500

{
  "error" : "Internal Server Error"
}