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> <smtp-server>smtp.gmail.com</smtp-server> <port>25</port> <username>email@example.com</username> <password>password</password> <ssl-enabled>true/false</ssl-enabled> <recipients> <recipient field="to">firstname.lastname@example.org</recipient> <recipient field="cc">email@example.com</recipient> <recipient field="bcc">firstname.lastname@example.org</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
fieldattribute 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.