Modifier and Type | Field and Description |
---|---|
java.util.Set<java.lang.String> |
from |
boolean |
mailSent |
java.util.Set<java.lang.String> |
to |
Constructor and Description |
---|
FakeSendmail() |
Modifier and Type | Method and Description |
---|---|
void |
send(Mail m) |
void |
send(org.apache.james.mime4j.dom.address.Mailbox sender,
org.apache.james.mime4j.dom.Message m) |
void |
send(java.lang.String domainUid,
org.apache.james.mime4j.dom.Message m) |
void |
send(java.lang.String fromEmail,
java.lang.String userDomain,
org.apache.james.mime4j.dom.address.MailboxList rcptTo,
org.apache.james.mime4j.dom.Message m) |
void |
send(java.lang.String fromEmail,
java.lang.String userDomain,
org.apache.james.mime4j.dom.Message m)
Send an email.
|
public boolean mailSent
public java.util.Set<java.lang.String> from
public java.util.Set<java.lang.String> to
public void send(Mail m) throws ServerFault
send
in interface ISendmail
ServerFault
public void send(java.lang.String fromEmail, java.lang.String userDomain, org.apache.james.mime4j.dom.Message m) throws ServerFault
ISendmail
send
in interface ISendmail
fromEmail
- Envelope fromuserDomain
- Used to locate a valid SMTPServerFault
public void send(org.apache.james.mime4j.dom.address.Mailbox sender, org.apache.james.mime4j.dom.Message m) throws ServerFault
send
in interface ISendmail
ServerFault
public void send(java.lang.String domainUid, org.apache.james.mime4j.dom.Message m) throws ServerFault
send
in interface ISendmail
ServerFault
public void send(java.lang.String fromEmail, java.lang.String userDomain, org.apache.james.mime4j.dom.address.MailboxList rcptTo, org.apache.james.mime4j.dom.Message m) throws ServerFault
send
in interface ISendmail
ServerFault
Copyright © 2021. All Rights Reserved.