Using BPOS smtp relay in order to send mails using C#


string const string SMTPADDRESS= "stp.mail.emea.microsoftonline.com";

try
{
  MailMessage mail = new MailMessage();
  mail.from = new MailAddress("from@company.be");
  mail.To.Add("customer1@company.be");
  mail.To.Add("customer2@company.be");
  mail.Subject = "Mail sent using BPOS SMTP relay";
  mail.Body= "This mail has been sent using ssl";

  SmtpClient smtpServer = new SmtpClient(SMTPADDRESS)
  smtpServer.Port = 587;
  //TODO: put these configurations in config files.
  smtpServer.Credentials = new System.Net.NetworkCredentials("from@company.be","password");
  smtpServer.EnableSsl = true;
  smtpServer.Send(mail);
  return true;
}
catch(Exception ex)
{
  return ex.ToString();
}


http://msdn.microsoft.com/en-us/library … ssage.aspx
http://msdn.microsoft.com/en-us/library … lient.aspx

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Restore personal outlook in new BPOS exchange server

1) Create a back-up of your Outlook (pst file)
2) Connect your outlook to your new BPOS exchange service
3) Restore your previous outlook from the pst file
4) Click send/receive to update the exchange server (this can take a while)

Here you go!

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

BPOS and the single sign in tool – username or password are not correct

If you want to use the Microsoft Online Services Single Sign in tool. Check the C:\Program Files\Microsoft Online Services\Sign In\SignIn.exe.config file first!

The tool wouldn't want to authenticate me although my username & password were correct.

Why check the config file?
First of all you need to know where exactly your online service is located.

Do you contact the service using:
https://home.emea.microsoftonline.com/ or https://home.microsoftonline.com/

if you use emea (Europe, the Middle East and Africa) like I do, check the C:\Program Files\Microsoft Online Services\Sign In\SignIn.exe.config. At the bottom of this file there is an endpoint element.

make sure this elements address is referring to the correct url

EMEA users –> https://signinservice.emea.microsoftonline.com/ssoservice and not https://signinservice.microsoftonline.com/ssoservice like in my case.

this small change enabled me to use this tool without any other problem.

Do not try to connect your outlook with the BPOS Exchange server. Outlook supports only 1 exchange account at a time so the other one will be removed. Make sure you export a backup (*.PST) first!

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)