mirror of
https://github.com/e107inc/e107.git
synced 2025-07-12 10:36:20 +02:00
Minor GUI fixes
This commit is contained in:
@ -881,10 +881,10 @@ class mailout_main_ui extends e_admin_ui
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>".LAN_MAILOUT_110."<br /></td>
|
<td>".LAN_MAILOUT_110."<br /></td>
|
||||||
<td class='form-inline'>".$frm->admin_button('testemail', LAN_MAILOUT_112,'other')."
|
<td class='form-inline'><div class='input-append'>".$frm->admin_button('testemail', LAN_MAILOUT_112,'other')."
|
||||||
<input name='testaddress' class='tbox' type='text' size='40' maxlength='80' value=\"".(varset($_POST['testaddress']) ? $_POST['testaddress'] : USEREMAIL)."\" />
|
<input name='testaddress' class='tbox input-xlarge' type='text' size='40' maxlength='80' value=\"".(varset($_POST['testaddress']) ? $_POST['testaddress'] : USEREMAIL)."\" />
|
||||||
".$this->mailAdmin->sendStyleSelect(varset($_POST['testtemplate'], 'textonly'), 'testtemplate')."
|
<span style='padding-left:5px'>".$this->mailAdmin->sendStyleSelect(varset($_POST['testtemplate'], 'textonly'), 'testtemplate')."</span>
|
||||||
</td>
|
</div></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -47,6 +47,9 @@ class e107Bounce
|
|||||||
|
|
||||||
$strEmail= ($this->source == false) ? $this->mailRead(-1) : file_get_contents(e_HANDLER."eml/".$this->source);
|
$strEmail= ($this->source == false) ? $this->mailRead(-1) : file_get_contents(e_HANDLER."eml/".$this->source);
|
||||||
|
|
||||||
|
file_put_contents(e_LOG."bounce.log",date('r')."\n\n".$strEmail."\n\n", FILE_APPEND);
|
||||||
|
|
||||||
|
|
||||||
if(strpos($strEmail,'X-Bounce-Test: true')!==false) // Bounce Test from Admin Area.
|
if(strpos($strEmail,'X-Bounce-Test: true')!==false) // Bounce Test from Admin Area.
|
||||||
{
|
{
|
||||||
$this->debug = true;
|
$this->debug = true;
|
||||||
|
@ -201,6 +201,10 @@ class e107Email extends PHPMailer
|
|||||||
{
|
{
|
||||||
$this->debug = true;
|
$this->debug = true;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->Debugoutput = 'handlePHPMailerDebug';
|
||||||
|
}
|
||||||
|
|
||||||
$this->pref = $pref;
|
$this->pref = $pref;
|
||||||
|
|
||||||
@ -1140,6 +1144,11 @@ class e107MailerException extends phpmailerException
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Called by PHPMailer when SMTP debug is active.
|
||||||
|
function handlePHPMailerDebug($str,$other)
|
||||||
|
{
|
||||||
|
e107::getMessage()->addInfo($str);
|
||||||
|
}
|
||||||
//--------------------------------------
|
//--------------------------------------
|
||||||
// Generic e107 Exception handler
|
// Generic e107 Exception handler
|
||||||
//--------------------------------------
|
//--------------------------------------
|
||||||
|
@ -122,7 +122,7 @@ define("LAN_MAILOUT_108", "Result");
|
|||||||
define("LAN_MAILOUT_109", "Show detail");
|
define("LAN_MAILOUT_109", "Show detail");
|
||||||
define("LAN_MAILOUT_110", "Send test email");
|
define("LAN_MAILOUT_110", "Send test email");
|
||||||
define("LAN_MAILOUT_111", "Email Title (not sent)");
|
define("LAN_MAILOUT_111", "Email Title (not sent)");
|
||||||
define("LAN_MAILOUT_112", "Click to send email to");
|
define("LAN_MAILOUT_112", "Send test email to");
|
||||||
define("LAN_MAILOUT_113", "Test email from");
|
define("LAN_MAILOUT_113", "Test email from");
|
||||||
define("LAN_MAILOUT_114", "This is a test email, it appears that your email settings are working ok! [br][br] Regards [br] from the e107 website system.");
|
define("LAN_MAILOUT_114", "This is a test email, it appears that your email settings are working ok! [br][br] Regards [br] from the e107 website system.");
|
||||||
define("LAN_MAILOUT_115", "Emailing method");
|
define("LAN_MAILOUT_115", "Emailing method");
|
||||||
|
Reference in New Issue
Block a user