Neokernel API

ESMTPReceiver Methods

The methods of the ESMTPReceiver class are listed below. For a complete list of ESMTPReceiver class members, see the ESMTPReceiver Members topic.

Public Static Methods

checkPath 
stripBracketsstripBrackets: given a path (possibly enclosed by angle brackets), method attempts to strip all enclosing brackets. this is bad since when we recreate the paths later, we will only add a single level of enclosing angle brackets

Protected Static Methods

fixForwardPathfixForwardPath: given a String representing a path, function attempts to prepare it for message delivery.
fixReversePath 

Public Instance Methods

Abort (inherited from ThreadClass)Overloaded. Raises a ThreadAbortException in the thread on which it is invoked, to begin the process of terminating the thread. Calling this method usually terminates the thread
addCommandParserOverloaded.  
deliverMessagedeliverMessage(): method is gauranteed to be executed before state is cleared after a data command had been successfully accepted (but not necessarily responded to)
disconnect
Equals (inherited from Object) 
GetHashCode (inherited from Object) 
GetType (inherited from Object) 
Interrupt (inherited from ThreadClass) Interrupts a thread that is in the WaitSleepJoin thread state.
isHeader
Join (inherited from ThreadClass)Overloaded. Blocks the calling thread until a thread terminates
parseCommand 
Resume (inherited from ThreadClass) Resumes a thread that has been suspended
Run 
Start (inherited from ThreadClass) Causes the operating system to change the state of the current thread instance to ThreadState.Running
Suspend (inherited from ThreadClass) Suspends the thread, if the thread is already suspended it has no effect
ToString (inherited from ThreadClass) Obtain a String that represents the current Object

Protected Instance Methods

close
debugPrint 
errorPrint 
Finalize (inherited from Object) 
initCommands 
MemberwiseClone (inherited from Object) 
parseData 
parseEhlo 
parseHelo 
parseMail 
parseNonRFCMail
parseNonRFCRcpt
parseNoop 
parseQuit 
parseRcpt 
parseRset 
parseVrfy 
prepareMessageprepareMessage() should occur before routeMessage() and deliverMessage()
read 
resetState 
routeMessage
write 

See Also

ESMTPReceiver Class | com.neokernel.email Namespace