Hello Team
i would like to add another email address in CC to the below code
################build html style http://technet.microsoft.com/en-us/library/ff730936.aspx########$a = "<style>"
#$a = $a + "BODY{background-color:peachpuff;}"
$a = $a + "TABLE{border-width: 2px;border-style: solid;border-color: black;border-collapse: collapse;}"
$a = $a + "TH{border-width: 1px;padding: 0px;border-style: solid;border-color: black;}"
$a = $a + "TD{border-width: 1px;padding: 0px;border-style: solid;border-color: black;}"
$a = $a + "</style>"
$space|ConvertTo-HTML -head $a | Out-File .\space.htm
$message = new-object System.Net.Mail.MailMessage(“Spacereport@noreply.com“, "ramakrishnan@labites.com")
$message.IsBodyHtml = $True
$message.Subject = "Space Report"
$smtp = new-object Net.Mail.SmtpClient(“smtp10.labbites.com“)
$body = get-content ".\white_space.htm"
$message.body = $body
$smtp.Send($message)
Currently the email is sending from Spacereport@noreply.com“ to , "ramakrishnan@labites.com" without any issues, but i would like add another email address in CC.
how can i do that, could you please help me on urgent basis