Project

General

Profile

« Previous | Next » 

Revision 402

Added by ryan over 17 years ago

Removed use of GMX name in installation

View differences:

save.php
266 266
// End admin user details code
267 267

  
268 268
// Get the SMTP server settings and check if valid
269
$smtp_server_used = "xxx.yourdomain.com";
269
$smtp_server_used = "mail.example.com";
270 270
if(isset($_POST['outgoing_mails']) AND $_POST['outgoing_mails']=="smtp") {
271 271
	if($_POST['smtp_server'] == "" || $_POST['smtp_server'] == "xxx.yourdomain.com") {
272 272
		set_error('Please define the SMTP host (Step 7) of your domain or choose option PHP mail().');
......
276 276
}
277 277

  
278 278
// Create SMTP server output string for the config.php file
279
if($smtp_server_used == "xxx.yourdomain.com") {
279
if($smtp_server_used == "mail.example.com") {
280 280
	$smtp_server_used = "// define('WBMAILER_SMTP_HOST', '" .$smtp_server_used ."');\n";
281 281
} else {
282 282
	$smtp_server_used = "define('WBMAILER_SMTP_HOST', '" .$smtp_server_used ."');\n";
......
299 299
"define('ADMIN_PATH', WB_PATH.'/admin');\n".
300 300
"define('ADMIN_URL', '$wb_url/admin');\n".
301 301
"\n".
302
"// some mail provider like GMX do not deliver mails send via PHP mail() function as SMTP authentification is missing\n".
302
"// some mail provider do not deliver mails send via PHP mail() function as SMTP authentification is missing\n".
303 303
"// in that case activate SMTP for outgoing mails: un-comment next line and specify SMTP host of your domain\n".
304 304
$smtp_server_used.
305 305
"\n".

Also available in: Unified diff