*}
<div class="crm-block crm-form-block crm-smtp-form-block">
<div id="help">
- {ts}<p>CiviCRM offers several options to send emails. The default option should work fine on linux systems. If you are using windows, you probably need to enter settings for your SMTP/Sendmail server. You can send a test email to check your settings by clicking "Save and Send Test Email". If you're unsure of the correct values, check with your system administrator, ISP or hosting provider.</p>
-
- <p>If you do not want users to send outbound mail from CiviCRM, select "Disable Outbound Email". NOTE: If you disable outbound email, and you are using Online Contribution pages or online Event Registration - you will need to disable automated receipts and registration confirmations.</p>
-
- <p>If you choose Redirect to Database, all emails will be recorded as archived mailings instead of being sent out. They can be found in the civicrm_mailing_spool table in the CiviCRM database.</p>{/ts}
+ <p>{ts}CiviCRM offers several options to send emails. The default option should work fine on linux systems. If you are using windows, you probably need to enter settings for your SMTP/Sendmail server. You can send a test email to check your settings by clicking "Save and Send Test Email". If you're unsure of the correct values, check with your system administrator, ISP or hosting provider.{/ts}</p>
+ <p>{ts}If you do not want users to send outbound mail from CiviCRM, select "Disable Outbound Email". NOTE: If you disable outbound email, and you are using Online Contribution pages or online Event Registration - you will need to disable automated receipts and registration confirmations.{/ts}</p>
+ <p>{ts}If you choose Redirect to Database, all emails will be recorded as archived mailings instead of being sent out. They can be found in the civicrm_mailing_spool table in the CiviCRM database.{/ts}</p>
</div>
<table class="form-layout-compressed">
<div class="spacer"></div>
<div class="crm-submit-buttons">
{include file="CRM/common/formButtons.tpl"}
- <span class="place-left"> </span>
- <span class="crm-button crm-button-type-next crm-button_qf_Smtp_refresh_test">{$form._qf_Smtp_refresh_test.html}</span>
</div>
</div>
case "0":
$("#bySMTP").show( );
$("#bySendmail").hide( );
- $("#_qf_Smtp_refresh_test").show( );
+ $("#_qf_Smtp_refresh_test").prop('disabled', false);
if (mailSetting == '5') {
alert(archiveWarning);
}
case "1":
$("#bySMTP").hide( );
$("#bySendmail").show( );
- $("#_qf_Smtp_refresh_test").show( );
+ $("#_qf_Smtp_refresh_test").prop('disabled', false);
if (mailSetting == '5') {
alert(archiveWarning);
}
break;
case "3":
$('.mailoption').hide();
- $("#_qf_Smtp_refresh_test").show( );
+ $("#_qf_Smtp_refresh_test").prop('disabled', false);
if (mailSetting == '5') {
alert(archiveWarning);
}
default:
$("#bySMTP").hide( );
$("#bySendmail").hide( );
- $("#_qf_Smtp_refresh_test").hide( );
+ $("#_qf_Smtp_refresh_test").prop('disabled', true);
}
}