Package system.web.mail
Class MailMessage
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.web.mail.MailMessage
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class MailMessage extends NetObject
The base .NET class managing System.Web.Mail.MailMessage, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Web.Mail.MailMessage
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Webstatic java.lang.StringclassNameQualified class name: System.Web.Mail.MailMessagestatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description MailMessage()MailMessage(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MailMessagecast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoMailMessage, a cast assert is made to check if types are compatible.IListgetAttachments()java.lang.StringgetBcc()java.lang.StringgetBody()EncodinggetBodyEncoding()MailFormatgetBodyFormat()java.lang.StringgetCc()IDictionarygetFields()java.lang.StringgetFrom()IDictionarygetHeaders()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeMailPrioritygetPriority()java.lang.StringgetSubject()java.lang.StringgetTo()java.lang.StringgetUrlContentBase()java.lang.StringgetUrlContentLocation()voidsetBcc(java.lang.String Bcc)voidsetBody(java.lang.String Body)voidsetBodyEncoding(Encoding BodyEncoding)voidsetBodyFormat(MailFormat BodyFormat)voidsetCc(java.lang.String Cc)voidsetFrom(java.lang.String From)voidsetJCOInstance(JCObject instance)voidsetPriority(MailPriority Priority)voidsetSubject(java.lang.String Subject)voidsetTo(java.lang.String To)voidsetUrlContentBase(java.lang.String UrlContentBase)voidsetUrlContentLocation(java.lang.String UrlContentLocation)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Web- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Web.Mail.MailMessage- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MailMessage
public MailMessage(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
MailMessage
public MailMessage() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException, NotSupportedException, ObjectDisposedException, AbandonedMutexException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static MailMessage cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoMailMessage, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
MailMessageinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
getFields
public IDictionary getFields() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getHeaders
public IDictionary getHeaders() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getAttachments
public IList getAttachments() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getBcc
public java.lang.String getBcc() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setBcc
public void setBcc(java.lang.String Bcc) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getBody
public java.lang.String getBody() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setBody
public void setBody(java.lang.String Body) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getCc
public java.lang.String getCc() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setCc
public void setCc(java.lang.String Cc) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getFrom
public java.lang.String getFrom() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setFrom
public void setFrom(java.lang.String From) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getSubject
public java.lang.String getSubject() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setSubject
public void setSubject(java.lang.String Subject) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getTo
public java.lang.String getTo() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setTo
public void setTo(java.lang.String To) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getUrlContentBase
public java.lang.String getUrlContentBase() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setUrlContentBase
public void setUrlContentBase(java.lang.String UrlContentBase) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getUrlContentLocation
public java.lang.String getUrlContentLocation() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setUrlContentLocation
public void setUrlContentLocation(java.lang.String UrlContentLocation) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getBodyEncoding
public Encoding getBodyEncoding() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setBodyEncoding
public void setBodyEncoding(Encoding BodyEncoding) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getBodyFormat
public MailFormat getBodyFormat() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setBodyFormat
public void setBodyFormat(MailFormat BodyFormat) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getPriority
public MailPriority getPriority() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setPriority
public void setPriority(MailPriority Priority) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-