In hotmail my email show up like this:
Your case is now ready for publication in the AANS case index. The final step
prior to
publications is the submission of CME questions for the case. This can be done
by
following this link:
http://myaans/default.aspx?tabid=27&CaseId=155
In outlook my email shows up like this:
Your case is now ready for publication in the AANS case index. The final step prior to
publications is the submission of CME questions for the case. This can be done by
following this link: link to CME forum here:
http://myaans/default.aspx?tabid=27&CaseId=150
This is the function I use to run the email:
private void sendCaseApprovedForReviewToSubmitter()
//Send an email to the Submitter when the status s changed to Approved for review
{
//Retreive Email for Submitter
OnlineCaseController controller = new OnlineCaseController();
OnlineCaseInfo oco = new OnlineCaseInfo();
oco = controller.Get(_case.CaseId);
OnlineCaseReviewerController ocrc = new OnlineCaseReviewerController();
OnlineCaseReviewerInfo ocri = new OnlineCaseReviewerInfo();
ocri = ocrc.GetOnlineCaseSubmitter(oco.Submitter);
StringBuilder sbto = new StringBuilder();
StringBuilder sbbody = new StringBuilder();
string url = string.Format("http://{0}/default.aspx?tabid={1}&CaseId={2}", Request.ServerVariables[ "SERVER_NAME" ], this.TabId, _caseId );
sbto.AppendFormat( "{0};", ocri.Email );
//Retreive all the information on the case subject to send it to the editor who edited the case.
sbbody.Append("Your case is now ready for publication in the AANS case index. The final step prior to ");
sbbody.Append("\r\n");
sbbody.Append("publications is the submission of CME questions for the case. This can be done by ");
sbbody.Append("\r\n");
sbbody.Append("following this link:");
sbbody.Append("\r\n");
sbbody.Append(url);
controller = null;
oco = null;
ocrc = null;
ocri = null;
DotNetNuke.Globals.SendNotification(FromEmail, sbto.ToString(), null,"Online Case Approved For Review",sbbody.ToString(),null,null,null);
sbto = null;
sbbody = null;
}
It seems in hotmail extra line breaks and carriag e returns are occuring.