C# 클래스 PerplexMail.EmailTag

This class is used as a model class to specify which tag (in the email) should be replaced with which value
파일 보기 프로젝트 열기: PerplexInternetmarketing/PerplexMail-for-Umbraco

공개 메소드들

메소드 설명
EmailTag ( ) : System

Creates a basic email tag. This tag can be used when sending a PerplexMail email to replace tags with text values.

EmailTag ( string tag, bool state ) : System

Creates a basic if tag. This tag can be used to show or hide specific content in emails sent by the email package. For example the text with tags: [#IsVehicle#]Text about vehicle details[#/IsVehicle#] is VISIBLE if the tag "IsVehicle" is TRUE and HIDDEN when FALSE.

EmailTag ( string tag, string value ) : System

Creates a basic email tag. This tag can be used when sending a PerplexMail email to replace tags with text values.

비공개 메소드들

메소드 설명
sanitizeTag ( string tag ) : string

This function strips all opening [# and closing #] characters for a tag. The email pacakge will already handle this for us.

메소드 상세

EmailTag() 공개 메소드

Creates a basic email tag. This tag can be used when sending a PerplexMail email to replace tags with text values.
public EmailTag ( ) : System
리턴 System

EmailTag() 공개 메소드

Creates a basic if tag. This tag can be used to show or hide specific content in emails sent by the email package. For example the text with tags: [#IsVehicle#]Text about vehicle details[#/IsVehicle#] is VISIBLE if the tag "IsVehicle" is TRUE and HIDDEN when FALSE.
public EmailTag ( string tag, bool state ) : System
tag string The tagname, without any prefix [# or suffix #]
state bool True (to show the content) or False (to hide the content)
리턴 System

EmailTag() 공개 메소드

Creates a basic email tag. This tag can be used when sending a PerplexMail email to replace tags with text values.
public EmailTag ( string tag, string value ) : System
tag string The tagname, without any prefix [# or suffix #]
value string The value to replace the tags with (in the email)
리턴 System