C# Class Example.WEBAPI

ファイルを表示 Open project: advancedrei/sendgridplus-csharp Class Usage Examples

Public Methods

Method Description
AddSubstitutionValues ( ) : Task

This feature allows you to create a message template, and specify different replacement strings for each specific recipient

AddSubstitutionValues ( ) : void

This feature allows you to create a message template, and specify different replacement strings for each specific recipient

AddUniqueIdentifiers ( ) : void

This feature adds key value identifiers to be sent back as arguments over the event api for various events

EnableBypassListManagementEmail ( ) : void

This feature wraps an HTML template around your email content. This can be useful for sending out newsletters and/or other HTML formatted messages. http://docs.sendgrid.com/documentation/apps/email-templates/

EnableClickTrackingEmail ( ) : void

Point the urls to Sendgrid Servers so that the clicks can be logged before being directed to the appropriate link http://docs.sendgrid.com/documentation/apps/click-tracking/

EnableFooterEmail ( ) : void

The Footer App will insert a custom footer at the bottom of the text and HTML bodies. http://docs.sendgrid.com/documentation/apps/footer/

EnableGoogleAnalytics ( ) : Task

The Footer App will insert a custom footer at the bottom of the text and HTML bodies. http://docs.sendgrid.com/documentation/apps/google-analytics/

EnableGoogleAnalytics ( ) : void

The Footer App will insert a custom footer at the bottom of the text and HTML bodies. http://docs.sendgrid.com/documentation/apps/google-analytics/

EnableGravatarEmail ( ) : void

Enable The Gravatar Filter. Currently the filter generates a 1x1 pixel gravatar image. http://docs.sendgrid.com/documentation/apps/gravatar/

EnableOpenTrackingEmail ( ) : void

Enable the Open Tracking to track when emails are opened. http://docs.sendgrid.com/documentation/apps/open-tracking/

EnableSpamCheckEmail ( ) : void

The Spam Checker filter, is useful when your web application allows your end users to create content that is then emailed through your SendGrid account. http://docs.sendgrid.com/documentation/apps/spam-checker-filter/

EnableTemplateEmail ( ) : void

This feature wraps an HTML template around your email content. This can be useful for sending out newsletters and/or other HTML formatted messages. http://docs.sendgrid.com/documentation/apps/email-templates/

EnableUnsubscribeEmail ( ) : void

Add automatic unsubscribe links to the bottom of emails. http://docs.sendgrid.com/documentation/apps/subscription-tracking/

SetCategory ( ) : void

This feature tags the message with a specific tracking category, which will have aggregated stats viewable from your SendGrid account page.

SimpleHTMLEmail ( ) : void

Send a simple HTML based email

SimplePlaintextEmail ( ) : void

Send a simple Plain Text email

WEBAPI ( string username, string password, string from, IEnumerable recipients ) : System

Method Details

AddSubstitutionValues() public method

This feature allows you to create a message template, and specify different replacement strings for each specific recipient
public AddSubstitutionValues ( ) : Task
return Task

AddSubstitutionValues() public method

This feature allows you to create a message template, and specify different replacement strings for each specific recipient
public AddSubstitutionValues ( ) : void
return void

AddUniqueIdentifiers() public method

This feature adds key value identifiers to be sent back as arguments over the event api for various events
public AddUniqueIdentifiers ( ) : void
return void

EnableBypassListManagementEmail() public method

This feature wraps an HTML template around your email content. This can be useful for sending out newsletters and/or other HTML formatted messages. http://docs.sendgrid.com/documentation/apps/email-templates/
public EnableBypassListManagementEmail ( ) : void
return void

EnableClickTrackingEmail() public method

Point the urls to Sendgrid Servers so that the clicks can be logged before being directed to the appropriate link http://docs.sendgrid.com/documentation/apps/click-tracking/
public EnableClickTrackingEmail ( ) : void
return void

EnableFooterEmail() public method

The Footer App will insert a custom footer at the bottom of the text and HTML bodies. http://docs.sendgrid.com/documentation/apps/footer/
public EnableFooterEmail ( ) : void
return void

EnableGoogleAnalytics() public method

The Footer App will insert a custom footer at the bottom of the text and HTML bodies. http://docs.sendgrid.com/documentation/apps/google-analytics/
public EnableGoogleAnalytics ( ) : Task
return Task

EnableGoogleAnalytics() public method

The Footer App will insert a custom footer at the bottom of the text and HTML bodies. http://docs.sendgrid.com/documentation/apps/google-analytics/
public EnableGoogleAnalytics ( ) : void
return void

EnableGravatarEmail() public method

Enable The Gravatar Filter. Currently the filter generates a 1x1 pixel gravatar image. http://docs.sendgrid.com/documentation/apps/gravatar/
public EnableGravatarEmail ( ) : void
return void

EnableOpenTrackingEmail() public method

Enable the Open Tracking to track when emails are opened. http://docs.sendgrid.com/documentation/apps/open-tracking/
public EnableOpenTrackingEmail ( ) : void
return void

EnableSpamCheckEmail() public method

The Spam Checker filter, is useful when your web application allows your end users to create content that is then emailed through your SendGrid account. http://docs.sendgrid.com/documentation/apps/spam-checker-filter/
public EnableSpamCheckEmail ( ) : void
return void

EnableTemplateEmail() public method

This feature wraps an HTML template around your email content. This can be useful for sending out newsletters and/or other HTML formatted messages. http://docs.sendgrid.com/documentation/apps/email-templates/
public EnableTemplateEmail ( ) : void
return void

EnableUnsubscribeEmail() public method

Add automatic unsubscribe links to the bottom of emails. http://docs.sendgrid.com/documentation/apps/subscription-tracking/
public EnableUnsubscribeEmail ( ) : void
return void

SetCategory() public method

This feature tags the message with a specific tracking category, which will have aggregated stats viewable from your SendGrid account page.
public SetCategory ( ) : void
return void

SimpleHTMLEmail() public method

Send a simple HTML based email
public SimpleHTMLEmail ( ) : void
return void

SimplePlaintextEmail() public method

Send a simple Plain Text email
public SimplePlaintextEmail ( ) : void
return void

WEBAPI() public method

public WEBAPI ( string username, string password, string from, IEnumerable recipients ) : System
username string
password string
from string
recipients IEnumerable
return System