This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why the email from my server was not received

 
gen pichong
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I send emails out from the server based on the user input. The emails can be sent to email address with yahoo.com, hotmail.com, and many other domains. But not to email addresses with .comcast.net, .netzero.com domains. It is not even in the spam/junk email folder.

I try to send web based emails to my comcast.net account by registering on other websites. Such as "http://www.javaranch.com". It works. My comcast.net account can even receive spam from spamming software.

Anyone have idea of Why and How to solve? Thanks
 
Sharad Agarwal
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I did not understand the question. What kind of API are you using to send the mail? Did you try sending a mail through the same SMTP server using plain old telnet to port 25?

Regards,
Sharad
Demented Deliberations of a Dilettante
 
gen pichong
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is the Java Mail API. I use the local SMTP server at port 25. It is sendmail running on RedHat Linux.

To be more specific. Using the exact same code, the email can be sent to genpichong@hotmail.com, genpichong@yahoo.com. But not genpichong@comcast.net.

The email listed above is just examples, not my real emails
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might take a look at the headers on email that does get through to your comcast account. Possibly your code is leaving something out.
Bill
 
gen pichong
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. I believe the email header is the problem now. I have checked the spammer black list. My ip is not there. I have check the bounced email. It says that a domain must be set.

Now, I am researching on how to set email headers.
[ May 26, 2005: Message edited by: gen pichong ]
 
gen pichong
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Now I am sure that the problem is that the domain information is not provided in the email header. So I need to configure the sendmail to make it contain the domain name.

But I am a newbie to SendMail. Can anyone good a sendmail provide some help?

current email header:
=======================
From: abc@DOMAIN_NAME.com
To: aabbcc@hotmail.com
Subject: Test Email
Date: Thu, 26 May 2005 17:57:05 -0400
Received: from www.DOMAIN_NAME.com ([64.234.212.265]) by MC6-F18.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Thu, 26 May 2005 14:57:03 -0700
Received: from www.DOMAIN_NAME.com (localhost.localdomain [127.0.0.1])by www.DOMAIN_NAME.com (8.12.8/8.12.8) with ESMTP id j4QLv5Gr003323for <aabbcc@hotmail.com>; Thu, 26 May 2005 17:57:05 -0400
Received: (from nobody@localhost)by www.DOMAIN_NAME.com (8.12.8/8.12.8/Submit) id j4QLv5Gb003321;Thu, 26 May 2005 17:57:05 -0400
X-Message-Info: JGTYoYF78jGk2nU+0bYgKfUqOY8jR6Jf2j9UFL/SkBQ=
Return-Path: nobody@www.DOMAIN_NAME.com
X-OriginalArrivalTime: 26 May 2005 21:57:04.0186 (UTC) FILETIME=[DA1E19A0:01C5623D]
=======================

I want to Change to:
=======================
From: abc@DOMAIN_NAME.com
To: aabbcc@hotmail.com
Subject: Test Email
Date: Thu, 26 May 2005 17:57:05 -0400
Received: from www.DOMAIN_NAME.com ([64.234.212.265]) by MC6-F18.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Thu, 26 May 2005 14:57:03 -0700
Received: from www.DOMAIN_NAME.com (www.DOMAIN_NAME.com [64.234.212.265])by www.DOMAIN_NAME.com (8.12.8/8.12.8) with ESMTP id j4QLv5Gr003323for <aabbcc@hotmail.com>; Thu, 26 May 2005 17:57:05 -0400
Received: (from nobody@www.DOMAIN_NAME.com)by www.DOMAIN_NAME.com (8.12.8/8.12.8/Submit) id j4QLv5Gb003321;Thu, 26 May 2005 17:57:05 -0400
X-Message-Info: JGTYoYF78jGk2nU+0bYgKfUqOY8jR6Jf2j9UFL/SkBQ=
Return-Path: nobody@www.DOMAIN_NAME.com
X-OriginalArrivalTime: 26 May 2005 21:57:04.0186 (UTC) FILETIME=[DA1E19A0:01C5623D]
=======================

It is runing on a Redhat linux 9 server.

How I can configure sendmail to realize it. I am a newbie to sendmail. Please be as detail as possible.

Thanks
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic