コード例 #1
0
 public RecipientExpansionInfo(EnvelopeRecipient removeRecipient, RoutingAddress[] addresses, SmtpResponse smtpResponse)
 {
     if (removeRecipient == null)
     {
         throw new ArgumentNullException("removeRecipient");
     }
     if (addresses == null)
     {
         throw new ArgumentNullException("addresses");
     }
     for (int i = 0; i < addresses.Length; i++)
     {
         if (!addresses[i].IsValid)
         {
             throw new ArgumentException(string.Format("The specified address is an invalid SMTP address - {0}", addresses[i]));
         }
     }
     this.removeRecipient = removeRecipient;
     this.addresses       = addresses;
     this.response        = smtpResponse;
     this.generateDSN     = true;
 }
コード例 #2
0
 internal abstract int GetOutboundIPPool(EnvelopeRecipient recipient);
コード例 #3
0
 internal abstract void SetOutboundIPPool(EnvelopeRecipient recipient, int offset);
コード例 #4
0
 internal abstract void SetTlsAuthLevel(EnvelopeRecipient recipient, RequiredTlsAuthLevel?tlsAuthLevel);
コード例 #5
0
 internal abstract RequiredTlsAuthLevel?GetTlsAuthLevel(EnvelopeRecipient recipient);
コード例 #6
0
 internal abstract void SetRoutingOverride(EnvelopeRecipient recipient, RoutingOverride routingOverride, string overrideSource);
コード例 #7
0
 public abstract void SetTlsDomain(EnvelopeRecipient recipient, string domain);
コード例 #8
0
 public abstract string GetTlsDomain(EnvelopeRecipient recipient);
コード例 #9
0
 public abstract void SetRoutingOverride(EnvelopeRecipient recipient, RoutingOverride routingOverride);
コード例 #10
0
 public abstract RoutingOverride GetRoutingOverride(EnvelopeRecipient recipient);
コード例 #11
0
 public RecipientExpansionInfo(EnvelopeRecipient removeRecipient, RoutingAddress[] addresses)
 {
     this             = new RecipientExpansionInfo(removeRecipient, addresses, SmtpResponse.Empty);
     this.generateDSN = false;
 }
コード例 #12
0
 internal abstract bool TryGetDsnParameters(EnvelopeRecipient recipient, string key, out object value);
コード例 #13
0
 internal abstract void AddDsnParameters(EnvelopeRecipient recipient, string key, object value);
コード例 #14
0
 public abstract void AckRecipientFail(EnvelopeRecipient recipient, SmtpResponse smtpResponse);
コード例 #15
0
 public abstract void AckRecipientSuccess(EnvelopeRecipient recipient, SmtpResponse smtpResponse);