473,406 Members | 2,217 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

SMTPClient ever send HTML mail to Junk Folder

Hi everyone

I've a simple ASP.NET Page that send a email using smtclient. The server is
a Exchange and use my credentials to autentificated.

The problem is that the send mail appear in the junk email folder.

Any idea.

Thanks
Oct 24 '07 #1
6 5907
Then the content of the mail is structured such that the mail server
receiving it thinks it is spam. Change the content of your e-mail, anything
with (for example) just a subject, a link and some text is normally flagged
as spam.

"Lázaro" <Lz***@discussions.microsoft.comwrote in message
news:E5**********************************@microsof t.com...
Hi everyone

I've a simple ASP.NET Page that send a email using smtclient. The server
is
a Exchange and use my credentials to autentificated.

The problem is that the send mail appear in the junk email folder.

Any idea.

Thanks

Oct 24 '07 #2
Thanks Aidy.

You have reason, the content or subject is important, but I make probes
sending simple HTML to me from me, but the mail goes to junk folder.

This is the HTML content:
<html>
<body>
<h1>Email Test</h1>
<div>That's is a simple mail test</div>
</body>
</html>

MailMessage msg = new MailMessage();
msg.To.Add("la****@cmips.com");
msg.From = new MailAddress("la****@cmips.com");
msg.IsBodyHtml = true;
msg.Subject = "Email Test";
msg.Body = "<html>......";
SmtpClient server = new SmtpClient("*.cmips.com");
smtpClient.Send(msg);

If you know something about this, thank you, if not don't tasted your time.

Bye
"Aidy" wrote:
Then the content of the mail is structured such that the mail server
receiving it thinks it is spam. Change the content of your e-mail, anything
with (for example) just a subject, a link and some text is normally flagged
as spam.

"Lázaro" <Lz***@discussions.microsoft.comwrote in message
news:E5**********************************@microsof t.com...
Hi everyone

I've a simple ASP.NET Page that send a email using smtclient. The server
is
a Exchange and use my credentials to autentificated.

The problem is that the send mail appear in the junk email folder.

Any idea.

Thanks


Oct 24 '07 #3
Small messages such as the ones you are sending are often flagged as spam.
As a text, grab a random email from your inbox that is a bit longer and send
the text in that as a test and see if it goes to spam.

"Lázaro" <Lz***@discussions.microsoft.comwrote in message
news:46**********************************@microsof t.com...
Thanks Aidy.

You have reason, the content or subject is important, but I make probes
sending simple HTML to me from me, but the mail goes to junk folder.

This is the HTML content:
<html>
<body>
<h1>Email Test</h1>
<div>That's is a simple mail test</div>
</body>
</html>

MailMessage msg = new MailMessage();
msg.To.Add("la****@cmips.com");
msg.From = new MailAddress("la****@cmips.com");
msg.IsBodyHtml = true;
msg.Subject = "Email Test";
msg.Body = "<html>......";
SmtpClient server = new SmtpClient("*.cmips.com");
smtpClient.Send(msg);

If you know something about this, thank you, if not don't tasted your
time.

Bye
"Aidy" wrote:
>Then the content of the mail is structured such that the mail server
receiving it thinks it is spam. Change the content of your e-mail,
anything
with (for example) just a subject, a link and some text is normally
flagged
as spam.

"Lázaro" <Lz***@discussions.microsoft.comwrote in message
news:E5**********************************@microso ft.com...
Hi everyone

I've a simple ASP.NET Page that send a email using smtclient. The
server
is
a Exchange and use my credentials to autentificated.

The problem is that the send mail appear in the junk email folder.

Any idea.

Thanks



Oct 24 '07 #4
"Lázaro" <Lz***@discussions.microsoft.comwrote in message
news:46**********************************@microsof t.com...
You have reason, the content or subject is important, but I make probes
sending simple HTML to me from me, but the mail goes to junk folder.
Have you inadvertently added your own address to your spam filter...?
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Oct 24 '07 #5
That's a good cuestion, I'm going to talking to systems guys..., I wrote
about this more latter

Thanks

"Mark Rae [MVP]" wrote:
"Lázaro" <Lz***@discussions.microsoft.comwrote in message
news:46**********************************@microsof t.com...
You have reason, the content or subject is important, but I make probes
sending simple HTML to me from me, but the mail goes to junk folder.

Have you inadvertently added your own address to your spam filter...?
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Oct 24 '07 #6
I take the source HTML from a Microsoft Mobile news eMail and..... that's
right...the mail goes to Inbox folder.

Thank you very much, I don't lost my time and your time, i goes to this way.

Bye

"Aidy" wrote:
Small messages such as the ones you are sending are often flagged as spam.
As a text, grab a random email from your inbox that is a bit longer and send
the text in that as a test and see if it goes to spam.

"Lázaro" <Lz***@discussions.microsoft.comwrote in message
news:46**********************************@microsof t.com...
Thanks Aidy.

You have reason, the content or subject is important, but I make probes
sending simple HTML to me from me, but the mail goes to junk folder.

This is the HTML content:
<html>
<body>
<h1>Email Test</h1>
<div>That's is a simple mail test</div>
</body>
</html>

MailMessage msg = new MailMessage();
msg.To.Add("la****@cmips.com");
msg.From = new MailAddress("la****@cmips.com");
msg.IsBodyHtml = true;
msg.Subject = "Email Test";
msg.Body = "<html>......";
SmtpClient server = new SmtpClient("*.cmips.com");
smtpClient.Send(msg);

If you know something about this, thank you, if not don't tasted your
time.

Bye
"Aidy" wrote:
Then the content of the mail is structured such that the mail server
receiving it thinks it is spam. Change the content of your e-mail,
anything
with (for example) just a subject, a link and some text is normally
flagged
as spam.

"Lázaro" <Lz***@discussions.microsoft.comwrote in message
news:E5**********************************@microsof t.com...
Hi everyone

I've a simple ASP.NET Page that send a email using smtclient. The
server
is
a Exchange and use my credentials to autentificated.

The problem is that the send mail appear in the junk email folder.

Any idea.

Thanks



Oct 24 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: theWizard1 | last post by:
Using VisualStudio 2005, asp.net 2.0: What do I put in my Web.Config to avoid hard coding the: myserveraddress.com? The following shows how I have hard coded it without having the value in the...
1
by: maflatoun | last post by:
Hi everyone, I'm coverting some of our code here from the old way of send email in ..net 1.1 to the new .net 2.0. However, everyone I switch the code the new method there is a delay of 1-2...
2
by: mazdotnet | last post by:
Hi everyone, I'm coverting some of our code here from the old way of sending mail in ..NET 1.1 to the new .NET 2.0. However, everytime I switch the code to the new method there is a delay of 1-2...
10
by: David Thole | last post by:
Hey all, I'm still very new at all this, but am going through the ASP.net 2.0 unleashed book, first chapter and trying to program my own little form emailer for fun. I tried following the code...
0
by: howardr101 | last post by:
Hi, Have hunted around on the groups and can't find anything, hence. I've tried this against 2 mail servers (mailtraq and hmailserver) and it occus with both. The problems seems to be that...
2
by: clevrmnkey | last post by:
I've had nothing but trouble from the System.Net.Mail objects, but I finally need to make them work, and I can't for the life of me see what I'm doing wrong. I pared back my mail transaction to...
1
by: les | last post by:
I'm getting this error "BC30456: 'IsBodyHtml' is not a member of 'System.Net.Mail.SmtpClient'" when trying to submit a form and send email. If I remove the line "MailObj.IsBodyHtml = True" the...
7
by: Rob Dob | last post by:
The following code is giving me a timeout problem., no matter what I do I can't send a piece of mail using .net2.0 System.Net.Mail.SmtpClient via port 465 and using ssl, if however I try using...
1
by: =?Utf-8?B?SnVzdF9Db2RlX0l0?= | last post by:
Anyone, I have code that send out email via ISP's SMTP server (using SmtpClient class). When sending to hotmail addresses, mails always go into Junkbox. Has anyone experiening this problem? Please...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.