feat(service): Console_SendMail을 Windows 서비스로 변환
- MailService.cs 추가: ServiceBase 상속받는 Windows 서비스 클래스 - Program.cs 수정: 서비스/콘솔 모드 지원, 설치/제거 기능 추가 - 프로젝트 설정: System.ServiceProcess 참조 추가 - 배치 파일 추가: 서비스 설치/제거/콘솔실행 스크립트 주요 기능: - Windows 서비스로 백그라운드 실행 - 명령행 인수로 모드 선택 (-install, -uninstall, -console) - EventLog를 통한 서비스 로깅 - 안전한 서비스 시작/중지 처리 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
7
Sub/Console_SendMail/RunConsole.bat
Normal file
7
Sub/Console_SendMail/RunConsole.bat
Normal file
@@ -0,0 +1,7 @@
|
||||
@echo off
|
||||
echo EETGW Mail Service - 콘솔 모드로 실행
|
||||
|
||||
REM 콘솔 모드로 실행
|
||||
Console_SendMail.exe -console
|
||||
|
||||
pause
|
||||
Reference in New Issue
Block a user