다음을 통해 공유


SmtpMailSettingsSection 클래스

SMTP(Simple Mail Transfer Protocol) 구성 설정을 포함합니다.

구문

class SmtpMailSettingsSection : ConfigurationSection  

메서드

다음 표에서는 클래스에 의해 노출되는 메서드를 나열합니다 SmtpMailSettingsSection .

속성 Description
GetAllowDefinition ( ConfigurationSection에서 상속됩니다.)
GetAllowLocation ConfigurationSection에서 상속됩니다.
RevertToParent ConfigurationSection에서 상속됩니다.
SetAllowDefinition ConfigurationSection에서 상속됩니다.
SetAllowLocation ConfigurationSection에서 상속됩니다.

속성

다음 표에서는 클래스에 의해 노출되는 속성을 나열합니다 SmtpMailSettingsSection .

속성 Description
DeliveryMethod SMTP 배달 방법을 지정하는 읽기/쓰기 sint32 값입니다. 가능한 값은 설명 섹션의 뒷부분에 나와 있습니다.
From SMTP 메일 API를 사용하여 사용자에게 전송되는 전자 메일의 보낸 사람 필드를 설정하는 읽기/쓰기 string 값입니다.
Location (에서 ConfigurationSection상속됨) 키 속성입니다.
Network SMTP 구성 파일의 네트워크 요소를 나타내는 읽기/쓰기 SmtpNetworkSettings 값입니다.
Path (에서 ConfigurationSection상속됨) 키 속성입니다.
SectionInformation ConfigurationSection에서 상속됩니다.
SpecifiedPickupDirectory SMTP 클라이언트에서 사용할 픽업 디렉터리를 지정하는 읽기/쓰기 SmtpSpecifiedPickupDirectorySettings 값입니다.

를 서브클래싱합니다.

이 클래스에는 서브클래스가 없습니다.

설명

다음 표에서는 속성에 사용할 수 있는 값을 나열합니다 DeliveryMethod . 기본값은 0(Network)입니다.

키워드 Description
0 Network 전자 메일은 네트워크를 통해 SMTP 서버로 전송됩니다.
1 SpecifiedPickupDirectory 메일은 배달을 위해 로컬 IIS 서버에서 사용하는 픽업 디렉터리에 복사됩니다.
2 PickupDirectoryFromIis 전자 메일은 외부 애플리케이션에서 배달하기 위해 속성에서 SpecifiedPickupDirectory 지정한 디렉터리에 복사됩니다.

상속 계층 구조

ConfigurationSection

SmtpMailSettingsSection

요구 사항

형식 Description
클라이언트 - Windows Vista의 IIS 7.0
- Windows 7의 IIS 7.5
- Windows 8의 IIS 8.0
- WINDOWS 10 IIS 10.0
서버 - Windows Server 2008의 IIS 7.0
- Windows Server 2008 R2의 IIS 7.5
- Windows Server 2012의 IIS 8.0
- Windows Server 2012 R2의 IIS 8.5
- WINDOWS SERVER 2016 IIS 10.0
제품 - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0
MOF 파일 WebAdministration.mof

참고 항목

ConfigurationSection 클래스
SmtpNetworkSettings 클래스
SmtpSpecifiedPickupDirectorySettings 클래스