Re: SMTP not relaying all emails
- From: "Cowboy \(Gregory A. Beamer\)" <NoSpamMgbworld@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 20 Jan 2009 15:55:41 -0600
There are a couple of things to consider, and none of them are directly
related to ASP.NET.
1. The receiving end, at aapcb.com perhaps, has a spam filter that is
blocking your sent email. If that is the case, the company in question has
to uncblock the emails.
2. The emails are flagged due to having the SMTP Server in another domain,
different from the domain the sending email is stated to be from. For
example, you say the email is from emailSender@xxxxxxxxx and the server is
located at GoDaddy. In this case, tyhe SMTP Server has to be configured so
your domain is added. There are limited rule sets in the IIS SMTP Server,
and I am not sure exactly what you do here to fix it.
Two things about #2:
A) If the sender and receiver are in different domains, there are cases it
will not send. But, if other receivers are in the same domain, it will.
B) If it is spam blocked, the receiver can set it so it allows the GoDaddy
server to send an email from sender@xxxxxxxxx or sender@xxxxxxxxx, etc.
3. the open email accounts, like Yahoo, GMail, Hotmail, Live, etc. will
generally let pretty much everything through, although they do SPAM box
emails with certain rules. This means Yahoo is not a good account provider
to see if you are getting SPAM checked.
In short:
1. Check relaying rules for messages on the SMTP server
2. Ensure your sender email domain is valid for the SMTP server
3. Check SPAM rules at your clients place
I am sure someone else can shed even more light on this.
--
Gregory A. Beamer
MVP; MCP: +I, Se, SD, DBA
Blog:
http://feeds.feedburner.com/GregoryBeamer
*************************************************
| Think outside the box! |
*************************************************
"BrassicaNigra" <brassica_nigra@xxxxxxxxxxxxxxxx> wrote in message
news:44CCD160-56E7-413B-9AFF-8547E30CE6F2@xxxxxxxxxxxxxxxx
Greetings,
Our production control application sends notices to various recipients
when
certain events occur. An example would be an order confirmation email
that
is sent to the customer and our inside sales rep when an order is placed.
Most of the time the customer receives this email but the inside sales rep
never gets these (they did up until about six weeks ago). I have a
yahoo.com
email account that is setup to receive these notifications and they all
arrive at that inbox so I know they are being sent.
The application that generates the email is an asp.net website and it uses
the SMTP server that is part of Exchange server on our SBS2003 box which
also
hosts the production control app.
We do not (yet) host our email internally so none of the inside users have
email accounts in this instance of Exchange. All we use it for at present
is
SMTP. Our email is hosted by a third party hosting service. All of the
inside users are using Outlook 2007.
Following is the code that sends the emails
try
{
CDO.Message oMsg = new CDO.Message();
CDO.IConfiguration iConfg;
iConfg = oMsg.Configuration;
ADODB.Fields oFields;
oFields = iConfg.Fields;
ADODB.Field oField =
oFields["http://schemas.microsoft.com/cdo/configuration/sendusing"];
oField.Value = CDO.CdoSendUsing.cdoSendUsingPort;
oField =
oFields["http://schemas.microsoft.com/cdo/configuration/smtpserver"];
oField.Value = "aaserver";
oFields.Update();
oMsg.From = "sales@xxxxxxxxx";
oMsg.To = "brassica_nigra@xxxxxxxxx; erin@xxxxxxxxx";
oMsg.Subject = "Test";
oMsg.TextBody = "Hello, world!";
oMsg.Send();
}
catch (Exception ex)
{
Response.Write(ex.Message);
}
Any light you can shed on this would be greatly appreciated.
Thank you.
Dale Hoffman
.
- Follow-Ups:
- Re: SMTP not relaying all emails
- From: Allen Chen [MSFT]
- Re: SMTP not relaying all emails
- References:
- SMTP not relaying all emails
- From: BrassicaNigra
- SMTP not relaying all emails
- Prev by Date: Re: radio button list - click event
- Next by Date: Re: error to use a section registered as allowDefinition='MachineOnly' beyond machine.config
- Previous by thread: Re: SMTP not relaying all emails
- Next by thread: Re: SMTP not relaying all emails
- Index(es):
Loading