473,386 Members | 1,791 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,386 software developers and data experts.

email recognizes as Junk

Hi everybody,
In my windows application i have a functunality to send mails to users (
i've done this many times )
The problem that i have right now is that these messages are recognized as
Junk Mail from Microsoft Outlook 2003
I've tried to manage the headers but with no luck
are there some rules that can be keep to mails not goin' as a Junk Mail

here is the Code
===========

Dim oMsg As New System.Net.Mail.MailMessage
Dim oFromAddress As New
System.Net.Mail.MailAddress("Sh****@global.com.kw" , "Global Investment House
- Kuwait", System.Text.ASCIIEncoding.ASCII)
Dim oToAddress As New
System.Net.Mail.MailAddress("sh****@Global.com.kw" , "Shahid")

oMsg.From = oFromAddress
oMsg.To.Add("sh****@global.com.kw")
oMsg.Subject = "Subject"
oMsg.IsBodyHtml = True
oMsg.Headers.Add("Content-Type", "text/html;
charset=""windows-1251""")
oMsg.Headers.Add("Message-ID", "sh****@global.com.kw")
oMsg.Headers.Add("Delivery-Notification-To",
"Sh****@global.com.kw")
oMsg.Headers.Add("Return-Receipt-To", "sh****@global.com.kw")
oMsg.Body = "Please Click here to visit site
http://www.globalinv.net"

smtpServer.Send(oMsg)

Thanks
Shahid

Dec 14 '05 #1
0 972

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

Similar topics

4
by: john Q | last post by:
I found a PHP based email obfuscator for use in websites, where the source HTML (PHP, actually) file doesn't contain the actual email address in the Mailto tag, but generates it and that...
0
by: Al Cohen | last post by:
We're developing a series of applications that will rely heavily on email, both SMTP out and POP3 in. The facilities included in .NET are rudimentary for outbound email, nonexistant for inbound....
1
by: Craig | last post by:
Hiya Everyone, I've just started the development of an email client using the .NET classes and C# ( I figured its a good way to get my hands dirty with ..NET). Anyhow, here's the situation... ...
5
by: venky | last post by:
Hello all, I wrote a small program which sends email to different address. I am using smtp object and i set smtp server as my verizon online. I use to send the email, everything works fine...
1
by: Franck | last post by:
Hello, are they any way fo sending an email wihtout defining the sender? thanks
4
by: zorag | last post by:
Why do PHP emails (that come from a PHP web site) go into the junk email inbox?
2
by: sweetpotatop | last post by:
Hi, I have been using "Mail" in ASP.NET to send email, however, email deliveries to the Junk-Email of the receiver. Is there a way to get around this please? Thanks in advance. Your help will...
6
by: ssankar | last post by:
hi all - I have been tasked to send customized emails to a set of users based on a certain condition in my company. ( This is NOT SPAM ) I have used MIME::Lite successfully to send html...
1
by: DAXU | last post by:
Hi, I wrote a small function to send email in c# function detail: { MailMessage theMailMessage = new MailMessage("administrator@carweb.com", "jerry@amtdatatechnologies.com");...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...

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.