Class GMTransport
java.lang.Object
javax.mail.Service
javax.mail.Transport
com.google.appengine.api.mail.stdimpl.GMTransport
public class GMTransport
extends javax.mail.Transport
Implementation of the 'Google Message Transport' which really just
connects to the exposed MailService and uses it to deliver a message.
The special destination address "admins" results in a delivery of the message to the owners of the application.
Note that most RFC822 headers are silently ignored.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
void
sendMessage
(javax.mail.Message message, javax.mail.Address[] addresses) Methods inherited from class javax.mail.Transport
addTransportListener, removeTransportListener, send, send
Methods inherited from class javax.mail.Service
addConnectionListener, close, connect, connect, connect, connect, getURLName, isConnected, removeConnectionListener, toString
-
Constructor Details
-
GMTransport
public GMTransport(javax.mail.Session session, javax.mail.URLName urlName)
-
-
Method Details
-
sendMessage
public void sendMessage(javax.mail.Message message, javax.mail.Address[] addresses) throws javax.mail.MessagingException - Specified by:
sendMessage
in classjavax.mail.Transport
- Throws:
javax.mail.MessagingException
-
hashCode
public int hashCode() -
equals
-