Modifier and Type | Class and Description |
---|---|
class |
FakeSendmail.TestMail |
Modifier and Type | Field and Description |
---|---|
boolean |
mailSent |
java.util.List<FakeSendmail.TestMail> |
messages |
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.List<FakeSendmail.TestMail> messages
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.