Subversion Repositories ALCASAR

Rev

Rev 3060 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 3060 Rev 3062
Line 148... Line 148...
148
						case '1':
148
						case '1':
149
							$mail_smtp_ip	= "smtp.orange.fr";
149
							$mail_smtp_ip	= "smtp.orange.fr";
150
							$mail_smtp_port		= 465;
150
							$mail_smtp_port		= 465;
151
						break;
151
						break;
152
						case '2':
152
						case '2':
153
							$mail_smtp_ip	= "smtp.live.com";
-
 
154
							$mail_smtp_port		= 587;
-
 
155
						break;
-
 
156
						case '3':
-
 
157
							$mail_smtp_ip	= "smtp.office365.com";
153
							$mail_smtp_ip	= "smtp.office365.com";
158
							$mail_smtp_port		= 587;
154
							$mail_smtp_port		= 587;
159
						break;
155
						break;
160
						case '4':
156
						case '3':
161
							$mail_smtp_ip	= "smtp.sfr.fr";
157
							$mail_smtp_ip	= "smtp.sfr.fr";
162
							$mail_smtp_port		= 465;
158
							$mail_smtp_port		= 465;
163
						break;
159
						break;
164
						case '5':
160
						case '4':
165
							$mail_smtp_ip	= "smtp.free.fr";
161
							$mail_smtp_ip	= "smtp.free.fr";
166
							$mail_smtp_port		= 465;	
162
							$mail_smtp_port		= 465;	
167
						break;
163
						break;
168
						case '6':
164
						case '5':
169
							$mail_smtp_ip	= "smtp.gmail.com";
165
							$mail_smtp_ip	= "smtp.gmail.com";
170
							$mail_smtp_port		= 587;
166
							$mail_smtp_port		= 587;
171
						break;
167
						break;
172
						case '7':
168
						case '6':
173
							$mail_smtp_ip	= "smtp.laposte.net";
169
							$mail_smtp_ip	= "smtp.laposte.net";
174
							$mail_smtp_port		= 465;
170
							$mail_smtp_port		= 465;
175
						break;
171
						break;
176
						case '8':
172
						case '7':
177
							$mail_smtp_ip	= "smtp.bbox.fr";
173
							$mail_smtp_ip	= "smtp.bbox.fr";
178
							$mail_smtp_port		= 587;
174
							$mail_smtp_port		= 465;
179
						break;
175
						break;
180
						default:
176
						default:
181
							echo "Erreur dans la saisie !";
177
							echo "Erreur dans la saisie !";
182
						break;
178
						break;
183
					}
179
					}
Line 338... Line 334...
338
							<label for="mail_server"><?= $l_mail_service ?></label><br>
334
							<label for="mail_server"><?= $l_mail_service ?></label><br>
339
						</dt>
335
						</dt>
340
						<dd>
336
						<dd>
341
							<select id="mail_server" name="mail_server" onchange="onMailStatusChange();">
337
							<select id="mail_server" name="mail_server" onchange="onMailStatusChange();">
342
								<option value="1"<?= ($mail_smtp_ip == 'smtp.orange.fr') ? ' selected="selected"' : '' ?>>Orange</option>
338
								<option value="1"<?= ($mail_smtp_ip == 'smtp.orange.fr') ? ' selected="selected"' : '' ?>>Orange</option>
343
								<option value="2"<?= ($mail_smtp_ip == 'smtp.live.com') ? ' selected="selected"' : '' ?>>Hotmail</option>
-
 
344
								<option value="3"<?= ($mail_smtp_ip == 'smtp.office365.com') ? ' selected="selected"' : '' ?>>Office365</option>
339
								<option value="2"<?= ($mail_smtp_ip == 'smtp.office365.com') ? ' selected="selected"' : '' ?>>Office365</option>
345
								<option value="4"<?= ($mail_smtp_ip == 'smtp.sfr.fr') ? ' selected="selected"' : '' ?>>SFR</option>
340
								<option value="3"<?= ($mail_smtp_ip == 'smtp.sfr.fr') ? ' selected="selected"' : '' ?>>SFR</option>
346
								<option value="5"<?= ($mail_smtp_ip == 'smtp.free.fr') ? ' selected="selected"' : '' ?>>Free</option>
341
								<option value="4"<?= ($mail_smtp_ip == 'smtp.free.fr') ? ' selected="selected"' : '' ?>>Free</option>
347
								<option value="6"<?= ($mail_smtp_ip == 'smtp.gmail.com') ? ' selected="selected"' : '' ?>>Gmail</option>
342
								<option value="5"<?= ($mail_smtp_ip == 'smtp.gmail.com') ? ' selected="selected"' : '' ?>>Gmail</option>
348
								<option value="7"<?= ($mail_smtp_ip == 'smtp.laposte.net') ? ' selected="selected"' : '' ?>>Laposte</option>
343
								<option value="6"<?= ($mail_smtp_ip == 'smtp.laposte.net') ? ' selected="selected"' : '' ?>>Laposte</option>
349
								<option value="8"<?= ($mail_smtp_ip == 'smtp.bbox.fr') ? ' selected="selected"' : '' ?>>Bouygues</option>
344
								<option value="7"<?= ($mail_smtp_ip == 'smtp.bbox.fr') ? ' selected="selected"' : '' ?>>Bouygues</option>
350
								<option value="9">Personnalisé</option>
345
								<option value="8">Personnalisé</option>
351
							</select>
346
							</select>
352
						</dd>
347
						</dd>
353
					</dl>
348
					</dl>
354
					<dl>
349
					<dl>
355
						<dt>
350
						<dt>