The Viewpoint web framework provides email configuration options. Sending email is primarily an end-user function for submitting issue notification or requesting support. To allow users to send messages, configure the mail settings according to required specifications.
The mail configuration is within the core.xml file. A sample follows of what the <mail
> XML block within the parent element looks like:
<mail> <smtp-server>smtp.gmail.com</smtp-server> <port>25</port> <username>user@gmail.com</username> <password>password</password> <ssl-enabled>true/false</ssl-enabled> <recipients> <recipient field="to">support@company.com</recipient> <recipient field="cc">viewpoint-admins@company.com</recipient> <recipient field="bcc">cio@company.com</recipient> </recipients> </mail>
smtp-server
> is the host.port
> is the port the SMTP server uses to receive email requests.username
> and <password
> are the username and password used to authenticate with the SMTP server.ssl-enabled
> indicates whether to use encryption; specify true or false.recipients
> contains a <recipient
> child element with the field
attribute used to send messages directly to a recipient ("to"), as a correspondent copy ("cc"), or as a blind correspondent copy("bcc"). You can specify multiple recipients by a comma-separated list.