summaryrefslogtreecommitdiff
path: root/program/include/rcube_smtp.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2007-05-28 19:08:36 +0000
committerthomascube <thomas@roundcube.net>2007-05-28 19:08:36 +0000
commitb2fb950fb58971a05d1c4d090132ab67afe6a6bd (patch)
treeacdbd9387812a8617d5867529c699d8b39c780a7 /program/include/rcube_smtp.inc
parentae4d7497f23ca7d0d07860f237896e6e4490e594 (diff)
Prevent default events on subject link; fixed typo in smtp script
Diffstat (limited to 'program/include/rcube_smtp.inc')
-rw-r--r--program/include/rcube_smtp.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_smtp.inc b/program/include/rcube_smtp.inc
index 6953e2666..2ddb5cf17 100644
--- a/program/include/rcube_smtp.inc
+++ b/program/include/rcube_smtp.inc
@@ -72,7 +72,7 @@ function smtp_mail($from, $recipients, &$headers, &$body, &$response)
// create Net_SMTP object and connect to server
if (!is_object($smtp_conn))
{
- $helo_host = !empty($_SERVER['server_name']) ? $_SERVER['server_name'] : 'localhost';
+ $helo_host = !empty($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : 'localhost';
$SMTP_CONN = new Net_SMTP($smtp_host, $smtp_port, $helo_host);
// set debugging