인텔리제이에서 Sendgrid 메일 발송 테스트 진행 중 한글 깨짐 관련 오류가 발생하여
발송인 메일로 다음과 같은 오류 메일이 왔습니다.
A message was received from this address by our systems that had errors in the SMTPAPI header, and cannot be processed due to the following:
- unknown charset 'ms949'
If you require assistance in working with the SendGrid API, please contact us at support@sendgrid.com
확인해보니 인텔리제이에서 컴파일이 UTF-8로 되지 않아서 발생하는 현상이었습니다.
help - Edit Custom VM Options.. 를 열어서
아래 문구를 추가하고 인텔리제이 재시작~
-Dfile.encoding=UTF-8
안 되면 .. 다시 Setting-Editor-File Encodings에서 UTF-8로 설정..
그래도 안 되면.. 상단 설정에 Edit Configurations.. 들어가서
저는 이걸 다 하고.. 해결되었습니다ㅎㅎ
'개발자 > Sendgrid' 카테고리의 다른 글
[Sendgrid/intellij/JAVA] invalid JSON - 텍스트 대치 UTF-8 처리 (0) | 2021.05.21 |
---|---|
[Sendgrid/intellij/JAVA] 메일 html 내 건별 텍스트 대치-Customizing your send (0) | 2021.05.21 |
[Sendgrid/intellij/JAVA] JAVA SMTP 발송 소스 (0) | 2021.05.18 |
[Sendgrid/intellij/JAVA] API_KEY 발급 + JAVA 메일 발송 401, 403 오류 (0) | 2021.05.17 |