Added option to set From email on smtp settings
This commit is contained in:
@@ -151,6 +151,7 @@
|
||||
$notifications['smtp_port'] = "";
|
||||
$notifications['smtp_username'] = "";
|
||||
$notifications['smtp_password'] = "";
|
||||
$notifications['from_email'] = "";
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -190,6 +191,9 @@
|
||||
<div class="form-group-inline">
|
||||
<input type="password" name="smtppassword" id="smtppassword" placeholder="SMTP Password" value="<?= $notifications['smtp_password'] ?>" />
|
||||
</div>
|
||||
<div class="form-group-inline">
|
||||
<input type="text" name="fromemail" id="fromemail" placeholder="From email (Optional)" value="<?= $notifications['from_email'] || "" ?>" />
|
||||
</div>
|
||||
<div class="settings-notes">
|
||||
<p>
|
||||
<i class="fa-solid fa-circle-info"></i> SMTP Password is transmitted and stored in plaintext.
|
||||
|
||||
Reference in New Issue
Block a user