Project

General

Profile

« Previous | Next » 

Revision 402

Added by ryan almost 18 years ago

Removed use of GMX name in installation

View differences:

trunk/wb/install/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".
trunk/wb/install/index.php
360 360
			</td>
361 361
			<td id="caption_smtp_server" colspan="2" style="color: <?php if(!isset($_SESSION['outgoing_mails']) OR $_SESSION['outgoing_mails'] == 'php') { echo '#FFF'; } else { echo '#666'; } ?>;">SMTP host:</td>
362 362
			<td>
363
				<input type="text" tabindex="20" id="smtp_server" name="smtp_server" style="display: <?php if(!isset($_SESSION['outgoing_mails']) OR $_SESSION['outgoing_mails'] == 'php') { echo 'none'; } else { echo 'block'; } ?>;" value="<?php if(isset($_SESSION['smtp_server'])) { echo $_SESSION['smtp_server']; } else { echo 'xxx.yourdomain.com'; } ?>" />
363
				<input type="text" tabindex="20" id="smtp_server" name="smtp_server" style="display: <?php if(!isset($_SESSION['outgoing_mails']) OR $_SESSION['outgoing_mails'] == 'php') { echo 'none'; } else { echo 'block'; } ?>;" value="<?php if(isset($_SESSION['smtp_server'])) { echo $_SESSION['smtp_server']; } else { echo 'mail.example.com'; } ?>" />
364 364
			</td>
365 365
		</tr>
366 366
		<tr>
367 367
			<td colspan="5">
368
				<strong>Note:</strong><br \>Some mail provider (like GMX) do not deliver mails not send via SMTP to prevent spamming.
369
				To enable SMTP for all mails send out by Website Baker, you need to know the SMTP host of your domain.<br \>
370
				If you are not sure about the settings, or you do not know the SMTP host of your domain, stay with the default setting PHP mail(). You can change the settings
371
				later by modifying one entry in the config.php file.
368
				<div style="border: 1px solid #CCC; background-color: #EEE; padding: 5px;">
369
				<strong> Please Note:</strong>
370
				<br \>
371
				Some service providers do not support sending mail via PHP.
372
				If your provider requires you to use SMTP for sending mail, you must know the SMTP host address.
373
				If you are not sure about these settings, or you do not know the SMTP host of your domain, use the default "PHP mail()" setting.
374
				You can change the settings	later if needed.
375
				</div>
372 376
			</td>
373 377
		</tr>
374 378
		<tr>

Also available in: Unified diff