메일 :: 에버노트

ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • 메일
    카테고리 없음 2018. 4. 17. 15:46

    # 윈도우 파워쉘에서 진행

    $EmailFrom = "보내는주소"

    $EmailTo = "받는사람주소"

    $Subject = "The subject of your email"

    $Body = "What do you want your email to say"

    $SMTPServer = "주소"

    $SMTPClient = New-Object Net.Mail.SmtpClient($SmtpServer, 포트)

    $SMTPClient.EnableSsl = $false

    $SMTPClient.Send($EmailFrom, $EmailTo, $Subject, $Body)


    댓글

Designed by Tistory.