Cisco Packet Tracer Extensions API 8.1.0
API for communication between Cisco Packet Tracer application and its extension applications and modules.
Public Member Functions | List of all members
EmailUser Class Reference

EmailUser holds and manipulates the email user. More...

Public Member Functions

string getUser ()
 Returns the username of the email user. More...
 
string getName ()
 Returns the name of the email user. More...
 
void setUser (string)
 Sets the username for the email user. More...
 
void setName (string)
 Sets the name for the email user. More...
 
string getMailId ()
 Returns the email address of the email user. More...
 
string getPassword ()
 Returns the password of the email user. More...
 
void setMailId (string)
 Sets the email address for the email user. More...
 
void setPassword (string)
 Sets the password for the email user. More...
 
string getSmtpServer ()
 Returns the SMTP server of the email user. More...
 
string getPop3Server ()
 Returns the POP3 server of the email user. More...
 
void setSmtpServer (string)
 Sets the SMTP server for the email user. More...
 
void setPop3Server (string)
 Sets the POP3 server for the email user. More...
 
MailBox getMailBox ()
 Returns the mailbox of the email user. More...
 

Detailed Description

EmailUser holds and manipulates the email user.

Member Function Documentation

◆ getMailBox()

MailBox EmailUser::getMailBox ( )

Returns the mailbox of the email user.

Returns
string, the mailbox of the email user. Through the object, emails can be added, accessed, removed.

◆ getMailId()

string EmailUser::getMailId ( )

Returns the email address of the email user.

Returns
string, the email address of the email user.

◆ getName()

string EmailUser::getName ( )

Returns the name of the email user.

Returns
string, the name of the email user.

◆ getPassword()

string EmailUser::getPassword ( )

Returns the password of the email user.

Returns
string, the password of the email user.

◆ getPop3Server()

string EmailUser::getPop3Server ( )

Returns the POP3 server of the email user.

Returns
string, the POP3 server of the email user.

◆ getSmtpServer()

string EmailUser::getSmtpServer ( )

Returns the SMTP server of the email user.

Returns
string, the SMTP server of the email user.

◆ getUser()

string EmailUser::getUser ( )

Returns the username of the email user.

Returns
string, the username of the email user.

◆ setMailId()

void EmailUser::setMailId ( string  )

Sets the email address for the email user.

Parameters
mailid,theemail address for the email user.

◆ setName()

void EmailUser::setName ( string  )

Sets the name for the email user.

Parameters
name,thename for the email user.

◆ setPassword()

void EmailUser::setPassword ( string  )

Sets the password for the email user.

Parameters
password,thepassword for the email user.

◆ setPop3Server()

void EmailUser::setPop3Server ( string  )

Sets the POP3 server for the email user.

Parameters
server,theSMTP server for the email user.

◆ setSmtpServer()

void EmailUser::setSmtpServer ( string  )

Sets the SMTP server for the email user.

Parameters
server,theSMTP server for the email user.

◆ setUser()

void EmailUser::setUser ( string  )

Sets the username for the email user.

Parameters
user,theusername for the email user.

The documentation for this class was generated from the following file: