2 /*********************************************************************************
3 * SugarCRM Community Edition is a customer relationship management program developed by
4 * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
6 * This program is free software; you can redistribute it and/or modify it under
7 * the terms of the GNU Affero General Public License version 3 as published by the
8 * Free Software Foundation with the addition of the following permission added
9 * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
10 * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
11 * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
13 * This program is distributed in the hope that it will be useful, but WITHOUT
14 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15 * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
18 * You should have received a copy of the GNU Affero General Public License along with
19 * this program; if not, see http://www.gnu.org/licenses or write to the Free
20 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23 * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
24 * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
26 * The interactive user interfaces in modified source and object code versions
27 * of this program must display Appropriate Legal Notices, as required under
28 * Section 5 of the GNU Affero General Public License version 3.
30 * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
31 * these Appropriate Legal Notices must retain the display of the "Powered by
32 * SugarCRM" logo. If the display of the logo is not reasonably feasible for
33 * technical reasons, the Appropriate Legal Notices must display the words
34 * "Powered by SugarCRM".
35 ********************************************************************************/
38 <div id="outboundServers">
39 <form id="outboundEmailForm">
40 <input type="hidden" id="mail_id" name="mail_id">
41 <input type="hidden" id="type" name="type" value="user">
42 <input type="hidden" id="mail_sendtype" name="mail_sendtype" value="SMTP">
44 <table width="100%" border="0" cellspacing="1" cellpadding="0" class="edit view">
46 <td scope="row" width="15%" NOWRAP>
47 {$app_strings.LBL_EMAIL_ACCOUNTS_NAME}:
48 <span class="required">
49 {$app_strings.LBL_REQUIRED_SYMBOL}
53 <input type="text" class="input" id="mail_name" name="mail_name" size="25" maxlength="64">
56 <tr id="chooseEmailProviderTD">
57 <td align="left" scope="row" colspan="4">{sugar_translate module='Emails' label='LBL_CHOOSE_EMAIL_PROVIDER'}</td>
59 <tr id="smtpButtonGroupTD">
61 <div id="smtpButtonGroup" class="yui-buttongroup">
62 <span id="gmail" class="yui-button yui-radio-button">
63 <span class="first-child">
64 <button type="button" name="mail_smtptype" value="gmail">
65 {$app_strings.LBL_SMTPTYPE_GMAIL}
69 <span id="yahoomail" class="yui-button yui-radio-button">
70 <span class="first-child">
71 <button type="button" name="mail_smtptype" value="yahoomail">
72 {$app_strings.LBL_SMTPTYPE_YAHOO}
76 <span id="exchange" class="yui-button yui-radio-button">
77 <span class="first-child">
78 <button type="button" name="mail_smtptype" value="exchange">
79 {$app_strings.LBL_SMTPTYPE_EXCHANGE}
83 <span id="other" class="yui-button yui-radio-button yui-button-checked">
84 <span class="first-child">
85 <button type="button" name="mail_smtptype" value="other">
86 {$app_strings.LBL_TABGROUP_OTHER}
95 <div id="smtp_settings">
96 <table width="100%" cellpadding="0" cellspacing="1">
97 <tr id="mailsettings1">
98 <td width="20%" scope="row" nowrap="nowrap"><span id="mail_smtpserver_label">{sugar_translate module='Emails' label='LBL_MAIL_SMTPSERVER'}</span> <span class="required" id="required_mail_smtpserver">{$app_strings.LBL_REQUIRED_SYMBOL}</span></td>
99 <td width="30%" ><slot><input type="text" id="mail_smtpserver" name="mail_smtpserver" tabindex="1" size="25" maxlength="64"></slot></td>
100 <td width="20%" scope="row" nowrap="nowrap"><span id="mail_smtpport_label">{sugar_translate module='Emails' label='LBL_MAIL_SMTPPORT'}</span></td>
101 <td width="30%" ><input type="text" id="mail_smtpport" name="mail_smtpport" tabindex="1" size="5" maxlength="5"></td>
103 <tr id="mailsettings2">
104 <td width="20%" scope="row"><span id='mail_smtpauth_req_label'>{sugar_translate module='Emails' label='LBL_MAIL_SMTPAUTH_REQ'}</span></td>
106 <input id='mail_smtpauth_req' name='mail_smtpauth_req' type="checkbox" class="checkbox" value="1" tabindex='1'
107 onclick="javascript:SUGAR.email2.accounts.smtp_authenticate_field_display();">
109 <td width="20%" scope="row" nowrap="nowrap"><span id="mail_smtpssl_label">{$app_strings.LBL_EMAIL_SMTP_SSL_OR_TLS}</span></td>
111 <select id="mail_smtpssl" name="mail_smtpssl" tabindex="501"
112 onclick="javascript:SUGAR.email2.accounts.smtp_setDefaultSMTPPort();">{$MAIL_SSL_OPTIONS}</select>
116 <td width="20%" scope="row" nowrap="nowrap"><span id="mail_smtpuser_label">{sugar_translate module='Emails' label='LBL_MAIL_SMTPUSER'}</span> <span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span></td>
117 <td width="30%" ><slot><input type="text" id="mail_smtpuser" name="mail_smtpuser" size="25" maxlength="64" tabindex='1' ></slot></td>
122 <td width="20%" scope="row" nowrap="nowrap"><span id="mail_smtppass_label">{sugar_translate module='Emails' label='LBL_MAIL_SMTPPASS'}</span> <span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span></td>
123 <td width="30%" ><slot>
124 <input type="password" id="mail_smtppass" name="mail_smtppass" size="25" maxlength="64" abindex='1'>
125 <a href="javascript:void(0)" id='mail_smtppass_link' onClick="SUGAR.util.setEmailPasswordEdit('mail_smtppass')" style="display: none">{$app_strings.LBL_CHANGE_PASSWORD}</a>
136 <input type="button" class="button" value=" {$app_strings.LBL_EMAIL_DONE_BUTTON_LABEL} " onclick="javascript:SUGAR.email2.accounts.saveOutboundSettings();">
137 <input type="button" class="button" value=" {$app_strings.LBL_EMAIL_TEST_OUTBOUND_SETTINGS} " onclick="javascript:SUGAR.email2.accounts.testOutboundSettingsDialog();">