|
@@ -137,7 +137,7 @@ class Deliver_SMTP extends Deliver {
|
|
|
|
|
|
// if the host is an IPv4 address, enclose it in brackets
|
|
|
//
|
|
|
- if (preg_match('/\d+\.\d+\.\d+\.\d+/', $helohost))
|
|
|
+ if (preg_match('/^\d+\.\d+\.\d+\.\d+$/', $helohost))
|
|
|
$helohost = '[' . $helohost . ']';
|
|
|
|
|
|
/* Lets introduce ourselves */
|