473,396 Members | 2,099 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,396 software developers and data experts.

SMTP email problem

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 except the mail which
gets send to hotmail goes and sits in the junk folder of hotmail.
Anyone has any ideas why is it happening? anything i need to set in my
message header?
venky

Nov 19 '05 #1
5 1367
Do you send out one email with several email address in the Cc or Bcc ?

Gabriel Lozano-Morán

"venky" <ve************@yahoo.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
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 except the mail which
gets send to hotmail goes and sits in the junk folder of hotmail.
Anyone has any ideas why is it happening? anything i need to set in my
message header?
venky

Nov 19 '05 #2
Not on cc or bcc, but on to fields, yes around 10 email addresses.
venky

*** Sent via Developersdex http://www.developersdex.com ***
Nov 19 '05 #3
Try sending mail with proper subject and message with good addressing

"venky" <ve************@yahoo.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
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 except the mail which
gets send to hotmail goes and sits in the junk folder of hotmail.
Anyone has any ideas why is it happening? anything i need to set in my
message header?
venky

Nov 19 '05 #4
> I use to send the email, everything works fine except the mail which
gets send to hotmail goes and sits in the junk folder of hotmail.
Anyone has any ideas why is it happening?


This is probably a hotmail issue. (The same thing happens when I email
people with hotmail accounts from my email account from work!) You should be
able to fix this by adding the source email address to your hotmail account
as a contact. All email from contacts go to your inbox.
Nov 19 '05 #5
There are a few things to check here.

First of all, if you are sending from your own domain (even if your hosted
by Verizon), understand that sending through Verizon is relaying. Relaying
will automatically get you labeled as junk mail by virtually every system out
there. The solution is to include verizon's server in SPF. This will help
scores on Yahoo, Hotmail, and others.

Secondly, ensure every header required by RFC822 is in your message. You
must include Message ID. Your message will be tagged as spam otherwise.

When sending to multiple users, use the administrator's account name or an
account name assigned to the application for the To address, and then list
the names in BCC. A well behaved mail relay will deliver each BCC copy
independently. Spammers can't afford this behavior, so they typically use To
or CC for their messages. By using BCC, you will both safeguard the user's
e-mail addresses and reduce your chance at getting flagged as spam.

Also, use only well formed HTML, and properly encapsulate it in a mime. If
you have to, use XHTML and the System.Xml classes to make your HTML. Well
formed HTML, and valid XHTML, will help prevent you from being flagged as
spam. That means no overlapping end tags, that means closing every tag you
open, that means including a plain text message (even if it is just "you need
to read this as HTML"), and it means using only local resources, encapsulated
in the message.

I don't (and can't) promise this will get you through Hotmail, however my
application that performs all these things does get through Hotmail
consistently, gets through Yahoo consistently, and passes both Spamassassin
and Popfile consistently. None of these services flag it as spam.

I cannot, however, consistently deliver to Earthlink and certain other
domains, because my e-mail server has a dynamic IP at the moment, and even
with domain records, SPF, etc. valid and active, they won't accept the mail.

"venky" wrote:
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 except the mail which
gets send to hotmail goes and sits in the junk folder of hotmail.
Anyone has any ideas why is it happening? anything i need to set in my
message header?
venky

Nov 19 '05 #6

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

Similar topics

2
by: Dan Boyle | last post by:
Hi, I am having difficulty connection to an smtp host. I am using the following code but I don't think I fully understand what smtp host can be used. function setSMTPParams($host = null,...
2
by: RandRace | last post by:
I'm having some problems with a little script i wrote using net::smtp. I originally wrote it in linux where it works perfectly. I tried to use it from windows the other day and it doesn't work. It...
1
by: bivin | last post by:
hai i am requesting your technical support. please help me. i have been working with this for five days. the problem is relating with the smtp. i am trying to send an email from the asp.net...
1
by: Brian Bischof | last post by:
In my Win app I found that using the SMTP object doesn't release resources after closing the application. During testing I have to open and close the app many times and I found that after about three...
5
by: Prashant Barnwal | last post by:
Hi, This message i get whne i try to send mails theu my app server. any idea where and what to look for? It works fine in Dev bed. Guide me to apprpriate news group if its not the right place. ...
34
by: antonyliu2002 | last post by:
I've set up the virtual smtp server on my IIS 5.1 like so: 1. Assign IP address to "All Unassigned", and listen to port 25. 2. Access Connection granted to "127.0.0.1". 3. Relay only allow...
4
by: CLEAR-RCIC | last post by:
I want to send an email from our Intranet site to myself whenever an error happens. Our manager will not let us install SMTP on the web server. Is it possible to send email programatically...
11
by: ibiza | last post by:
Hi all, I am trying to use the System.Net.Mail class for the first time, with ASP.NET 2.0. I setup everything according to http://www.codeproject.com/aspnet/EasySMTP_package.asp, which gives...
7
by: oopsbabies | last post by:
Hello everyone, I am using Apache 1.3.33 as the web server and PHP version 4.3.10. My machine is using Windows XP 2002 professional edition which comes with a Windows firewall. I am using McAfee...
2
by: =?Utf-8?B?QWRl?= | last post by:
HI All, I am encountering the following error when I try to send an email through a SMTP server. I believe the problem lies with the authentication part when the network crednetials are used,...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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.