الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

مشكل في إرسال رسالة 550 550 5.1.1

بدأه smaali في 25 يناير 2013 · 1 رد · 386 مشاهدة · في Microsoft Visual C#.NET
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

السلام عليكم و رحمة الله،
أنشأت تطبيقا لإرسال الرسائل(إميلات)، يتم الإرسال بدون ظهور أي مشكلة، لكن الرسائل لا تصل للمتلقين و يتم رفضها، السبب هو:
Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 550 550 5.1.1 <smaali90@mail.com>... User is unknown {mx-us003} (state 13).

 

الكود الخاص بالإرسال هو:

 
MailMessage mm = new MailMessage("smaali@gmail.com", "fbsmli@mail.com");
//            SmtpClient mailService = new SmtpClient();

            // content
            mm.Subject = "TestObjet";
            mm.Body = "Réception d'un message de test d'envoi";
            mm.CC.Add("smaali90@mail.com");
            // some attachments
            mm.Attachments.Add(new Attachment("c:\\filename.txt"));
            // Sending message
            SmtpClient sc = new SmtpClient("smtp.gmail.com", 587);
            // our account credentials
            sc.Credentials = new System.Net.NetworkCredential("smaali90@gmail.com", "acho_tsdi", "");
            sc.EnableSsl = true;
            // Catching result
            try
            {
                sc.Send(mm);
                MessageBox.Show("Message sent");
            }
            catch (Exception ex)
            {
                MessageBox.Show("Error: " + ex.Message);
            }

 

 

 
هل سبق و أن صادفت هذا المشكل؟ و ما الحل؟
جزاكم الله خيرا

تم تعديل هذه المشاركة بواسطة smaali في 25 يناير 2013 في 04:27

#2

الموضوع مكرر ابحث في المنتدي

مواضيع مشابهة

عدد الزوار حالياً

المتواجدون خلال آخر دقيقتين · يتحدّث كل ٣٠ ثانية

—الإجمالي—أعضاء مسجّلون—زوار بدون تسجيل

جارٍ التحقق من المتواجدين…