473,761 Members | 2,285 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1393
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.goo glegroups.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.goo glegroups.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
2812
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, $port = null, $helo = null, $auth = null, $user = null, $pass = null) { if (!is_null($host)) $this->smtp_params = $host;
2
13704
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 connects to the server and prints the banner but will not send mail. Here is my script: use Net::SMTP; my $smtp = Net::SMTP->new('smtp.comcast.net') or die "Can't Open server"!";
1
8041
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 page. earlier it was showing send using not find error.
1
2143
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 times it locks up when I call the Send() method and returns the error "Could not access CDO.Message Object". I found that if I create a new Win App and copy and paste the code into it, then it runs fine for the first couple of times and then starts...
5
2070
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. COM object with CLSID {CD000001-8B95-11D1-82DB-00C04FB1625D} is either not valid or not registered. COM object with CLSID {CD000001-8B95-11D1-82DB-00C04FB1625D} is either not valid or not registered. at...
34
18269
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 "127.0.0.1". 4. Authentication: "Anonymous access" only. 5. Outbound connection listen to TCP 25. Besides,
4
2259
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 without SMTP installed?
11
2723
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 me a working environment for sending mails. I am sure the code is correct, there are no errors and everything seems
7
7742
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 free edition for anti-virus. I use an ISP provider from my country and according to them I do not need to perform authentication while sending mails through their SMTP address. Thus I am using external SMTP server. I don't have IIS installed...
2
12175
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, error is thrown at the .send point. Error is: The following error occured Sending an email: System.ApplicationException: An error occurred sending an email To helen@HerMail.com From ade@MyMail.com Cc Subject A test with Finlistener #1. The body...
0
9538
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9353
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10123
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9975
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9788
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7342
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5384
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3889
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2765
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.