שלום, אני שולח אימייל מהשרת שלי (אשר נמצא בחו"ל) אך האימייל מגיע בגיבריש. מנסיון קודם שלי עם השרת, הגיבריש מגיע מהקידוד של הדף. כיצד אני מקודד אימיל לutf-8? תודה.
Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0103: The name 'Encoding' does not exist in the current context Source Error: Line 24: objEmail1.Subject = Contact_subject.Text; Line 25: objEmail1.Body = Contact_body.Text; Line 26: objEmail1.BodyEncoding = Encoding.UTF8; Line 27: Line 28: objEmail1.BodyFormat = MailFormat.Text;