![embed이미지 본문 첨부 메일발송 스크립트](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FbnFhAs%2Fbtr0aVK1vYe%2F8kHQNQ1ksk1guJ8dUOQTTk%2Fimg.jpg)
# Script/Bash2023. 2. 16. 09:04embed이미지 본문 첨부 메일발송 스크립트
#!/bin/bash # 이메일 발신자, 수신자, 제목 및 내용 설정 from_email="sender@naver.com" from_pw="password" smtphost="smtp.naver.com" to_email="recipient@example.com" subject="Test email with embedded image" body="This is a test email with an embedded image." boundary="boundary_string" # 이미지 파일 경로 설정 image_path="/path/to/image.png" # 이메일 본문에 이미지를 추가 body_with_image="From: $from_email\r\nTo: $to_email\r\nSubject: $s..