Skip to main content
Hi,

It's a bit strange but when I put a " " symbol in a mail server event, it's converted into a "?" symbol...

How avoid it?
Hi T,

This is a bit strange but not a K2.net issue; I ve tested it by execution the code below from VS .NET, the same thing happened.

Please note: strBody = This is my value: 1 123-00 the code tag losses the symbol

 Dim objMsg As New System.Web.Mail.MailMessage
Dim objAttachment As System.Web.Mail.MailAttachment
Dim objSender As System.Web.Mail.SmtpMail
Dim strFrom As String
Dim strEmail As String
Dim strSubject As String
Dim strBody As String
objSender.SmtpServer = "zapdc"
strFrom = "User1@Domain.com"
strEmail = "User2@Domain.com"
strSubject = "Test Mail"
strBody = "This is my value: 1 123-00"
objMsg.From = strFrom
objMsg.To = strEmail
objMsg.Subject = strSubject
objMsg.Body = strBody
objSender.Send(objMsg)

MsgBox("I am done check your mail")


Have a look at the image below:

Reply