Package com.mailjet.client.easy
Class MJEasySms
java.lang.Object
com.mailjet.client.easy.MJEasySms
public class MJEasySms
extends java.lang.Object
Mailjet easy sms sending object.
It's a MailjetRequest object wrapper
-
Constructor Summary
Constructors Modifier Constructor Description protectedMJEasySms(MJEasyClient client, MailjetRequest request) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
MJEasySms
-
-
Method Details
-
from
Set the sender- Parameters:
number- sender name- Returns:
- Current instance
-
to
Set the recipient- Parameters:
number- Number of the recipient- Returns:
- Current instance
-
text
Set the text content of the message- Parameters:
text- Text content- Returns:
- Current instance
-
send
Send the sms- Returns:
- a MailjetResponse instance
- Throws:
MailjetException
-