Skip to content

Instantly share code, notes, and snippets.

@mc256
Last active October 28, 2016 03:20
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save mc256/6f880cc79d5fd5bb6af9e2074ef1e43c to your computer and use it in GitHub Desktop.
just example
<?php
$wgSMTP = ( (rand(1,2) == 1) ?
array(
'host' => "outlook.corporatedomain1111.com",
'IDHost' => "corporatationname.com",
'port' => 25,
'auth' => false,
'username' => "name@corporationname.com",
'password' => "pw1245"
)
:
array(
'host' => "outlook.corporatedomain22222.com",
'IDHost' => "corporatationname.com",
'port' => 25,
'auth' => false,
'username' => "name@corporationname.com",
'password' => "pw1245"
)
);
print_r($wgSMTP);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment