Saturday, March 24, 2012

This message has been blocked for your safety

Have you tried to click on "Learn more" ?!!!

It looks like you are using a software (not sure if this is a server side
firewall software or if you try to read the message in a client) that
consider this as a potential threat. IMO your best is to look for support at
this third party product site as it looks like this issue is not related to
..NET...

--
Patrice

"Jassim Rahma" <jrahma@dotnet.itags.org.hotmail.coma crit dans le message de news:
F12C8C18-20DE-4A06-A415-2FC181265544@dotnet.itags.org.microsoft.com...

Quote:

Originally Posted by

>I am getting this message when sending using System.Net.Mail... I have
attached the print screen and here is the complete code:
>
NetworkCredential network_credential = new
NetworkCredential("info@dotnet.itags.org.zatoor.com", "xxxxxx");
MailMessage mail_message = new MailMessage();
// SmtpClient smtp_client = new SmtpClient("localhost");
SmtpClient smtp_client = new SmtpClient("smtp.zatoor.com");
smtp_client.UseDefaultCredentials = false;
smtp_client.Port = 25;
smtp_client.Credentials = network_credential;
>
string html_message = null;
>
html_message = "<html>";
html_message += "<head>";
html_message += "<meta http-equiv=Content-Type
content='text/html; charset=windows-1252'>";
html_message += "</head>";
html_message += "<body>";
html_message += "Thank you for registering with zatoor.com
and welcome to the world of free classifieds. We hope you will enjoy using
our website.";
html_message += "<br>";
html_message += "<br><br>";
html_message += "zatoor.com Team";
html_message += "</body>";
html_message += "</html>";
>
mail_message.From = new MailAddress("info@dotnet.itags.org.zatoor.com",
"zatoor.com");
mail_message.To.Add(txtEmailAddress.Text);
mail_message.CC.Add("jrahma@dotnet.itags.org.yahoo.com");
// mail_message.Priority = MailPriority.High;
mail_message.IsBodyHtml = true;
mail_message.Subject = "welcome to zatoor.com";
mail_message.Body = html_message;
>
mail_message.DeliveryNotificationOptions =
DeliveryNotificationOptions.OnFailure;
>
smtp_client.Send(mail_message);
>

can you please expian what do you mean?

"Patrice" <http://www.chez.com/scribe/wrote in message
news:uKsNceTyHHA.4712@.TK2MSFTNGP04.phx.gbl...

Quote:

Originally Posted by

Have you tried to click on "Learn more" ?!!!
>
It looks like you are using a software (not sure if this is a server side
firewall software or if you try to read the message in a client) that
consider this as a potential threat. IMO your best is to look for support
at this third party product site as it looks like this issue is not
related to .NET...
>
--
Patrice
>
"Jassim Rahma" <jrahma@.hotmail.coma crit dans le message de news:
F12C8C18-20DE-4A06-A415-2FC181265544@.microsoft.com...

Quote:

Originally Posted by

>>I am getting this message when sending using System.Net.Mail... I have
>attached the print screen and here is the complete code:
>>
> NetworkCredential network_credential = new
>NetworkCredential("info@.zatoor.com", "xxxxxx");
> MailMessage mail_message = new MailMessage();
> // SmtpClient smtp_client = new SmtpClient("localhost");
> SmtpClient smtp_client = new
>SmtpClient("smtp.zatoor.com");
> smtp_client.UseDefaultCredentials = false;
> smtp_client.Port = 25;
> smtp_client.Credentials = network_credential;
>>
> string html_message = null;
>>
> html_message = "<html>";
> html_message += "<head>";
> html_message += "<meta http-equiv=Content-Type
>content='text/html; charset=windows-1252'>";
> html_message += "</head>";
> html_message += "<body>";
> html_message += "Thank you for registering with zatoor.com
>and welcome to the world of free classifieds. We hope you will enjoy
>using
>our website.";
> html_message += "<br>";
> html_message += "<br><br>";
> html_message += "zatoor.com Team";
> html_message += "</body>";
> html_message += "</html>";
>>
> mail_message.From = new MailAddress("info@.zatoor.com",
>"zatoor.com");
> mail_message.To.Add(txtEmailAddress.Text);
> mail_message.CC.Add("jrahma@.yahoo.com");
> // mail_message.Priority = MailPriority.High;
> mail_message.IsBodyHtml = true;
> mail_message.Subject = "welcome to zatoor.com";
> mail_message.Body = html_message;
>>
> mail_message.DeliveryNotificationOptions =
>DeliveryNotificationOptions.OnFailure;
>>
> smtp_client.Send(mail_message);
>>


>
>


AFAIK this message is not produced by the DOTNET framework but by a third
party product that blocks the message you try to send for some reason.. In
this message you have a "Learn more" link that you could click to see why
this third party software choosed to block this transmission.

So for now it looks like to me this is not at all related to a programming
issue but to a third party software (firewall, antivirus ?)

Or is this that your mail provider replaced the screenshot by a message of
its own ;-) - Generally just reproducing the text should be enough. The
message I see is the "This message has been blocked for your safety"" whih
is not a DOTNET message...

--
Patrice

"Jassim Rahma" <jrahma@.hotmail.coma crit dans le message de news:
uOjWFueyHHA.5380@.TK2MSFTNGP04.phx.gbl...

Quote:

Originally Posted by

can you please expian what do you mean?
>
>
>
"Patrice" <http://www.chez.com/scribe/wrote in message
news:uKsNceTyHHA.4712@.TK2MSFTNGP04.phx.gbl...

Quote:

Originally Posted by

>Have you tried to click on "Learn more" ?!!!
>>
>It looks like you are using a software (not sure if this is a server side
>firewall software or if you try to read the message in a client) that
>consider this as a potential threat. IMO your best is to look for support
>at this third party product site as it looks like this issue is not
>related to .NET...
>>
>--
>Patrice
>>
>"Jassim Rahma" <jrahma@.hotmail.coma crit dans le message de news:
>F12C8C18-20DE-4A06-A415-2FC181265544@.microsoft.com...

Quote:

Originally Posted by

>>>I am getting this message when sending using System.Net.Mail... I have
>>attached the print screen and here is the complete code:
>>>
>> NetworkCredential network_credential = new
>>NetworkCredential("info@.zatoor.com", "xxxxxx");
>> MailMessage mail_message = new MailMessage();
>> // SmtpClient smtp_client = new SmtpClient("localhost");
>> SmtpClient smtp_client = new
>>SmtpClient("smtp.zatoor.com");
>> smtp_client.UseDefaultCredentials = false;
>> smtp_client.Port = 25;
>> smtp_client.Credentials = network_credential;
>>>
>> string html_message = null;
>>>
>> html_message = "<html>";
>> html_message += "<head>";
>> html_message += "<meta http-equiv=Content-Type
>>content='text/html; charset=windows-1252'>";
>> html_message += "</head>";
>> html_message += "<body>";
>> html_message += "Thank you for registering with
>>zatoor.com
>>and welcome to the world of free classifieds. We hope you will enjoy
>>using
>>our website.";
>> html_message += "<br>";
>> html_message += "<br><br>";
>> html_message += "zatoor.com Team";
>> html_message += "</body>";
>> html_message += "</html>";
>>>
>> mail_message.From = new MailAddress("info@.zatoor.com",
>>"zatoor.com");
>> mail_message.To.Add(txtEmailAddress.Text);
>> mail_message.CC.Add("jrahma@.yahoo.com");
>> // mail_message.Priority = MailPriority.High;
>> mail_message.IsBodyHtml = true;
>> mail_message.Subject = "welcome to zatoor.com";
>> mail_message.Body = html_message;
>>>
>> mail_message.DeliveryNotificationOptions =
>>DeliveryNotificationOptions.OnFailure;
>>>
>> smtp_client.Send(mail_message);
>>>


>>
>>


>

0 comments:

Post a Comment