CMS MADE SIMPLE FORGE

Send Email

 

[#4657] Fix displayed domain name

avatar
Created By: Tahd McGinnis (jmcgin51)
Date Submitted: 2010-03-08 13:58

Assigned To:
Resolution: None
State: Open
Summary:
Fix displayed domain name
Detailed Description:
Currently, the "From" field shows the picklist (or text box, depending on your
SendEmail version), followed by "@www.mydomain.com".  I would like this to read
"@mydomain.com".  In other words, just strip the "www."

Suggest changing the source as follows:

action.defaultadmin.php, line 40:

OLD:
      @<?php echo $_SERVER['SERVER_NAME']; ?></td>

NEW:
@<?php echo str_replace("www.","",$_SERVER['SERVER_NAME']); ?></td>

Thanks!!

History