Dim iMsg ' New CDO.message
Set iMsg = CreateObject("CDONTS.NewMail")
strHTMLBody = "<html>" & vbCrLf & "<head>" & vbCrLf
Select Case UCase(strLoggedLanguage)
Case "EL"
strHTMLBody = strHTMLBody & " <META http-equiv=Content-Type content=""text/html; charset=ISO-8859-7"">" & vbCrLf
Case "PL", "CS", "HU"
strHTMLBody = strHTMLBody & " <META http-equiv=Content-Type content=""text/html; charset=ISO-8859-2"">" & vbCrLf
Case "RU"
strHTMLBody = strHTMLBody & " <META http-equiv=Content-Type content=""text/html; charset=ISO-8859-5"">" & vbCrLf
Case Else
strHTMLBody = strHTMLBody & " <META http-equiv=Content-Type content=""text/html; charset=ISO-8859-1"">" & vbCrLf
End Select
strHTMLBody = strHTMLBody & _
" <title>" & strSubject & "</title>" & vbCrLf & _
"</head>" & vbCrLf & _
"<body>" & vbCrLf & _
"<pre>" & vbCrLf & _
"<font face=arial size=2>" & vbCrLf & _
"<b>" & vbCrLf & _
"</font>" & vbCrLf & _
"</pre>" & vbCrLf & _
"</body>" & vbCrLf & _
"</html>" & vbCrLf
With iMsg
.To = strEmailAddress
.From = """CDS Dealer Feedback"" <" & conFromEmailAddress & ">"
.Subject = strEmailSubject & ": " & strSubject
.Body = strHTMLBody
.MailFormat = 0
.BodyFormat = 0
End With
iMsg.Send
Set iMsg = Nothing