Ok, I'm 99.9999999999999999999% sure there haven't been any code changes,
since the date stamps of the code are older than any email 'failures'
The email piece quit working using the mail.send. If there haven't been any
changes made to previously working code, where do I look for the problem
now? I restarted the SMTPservice in IIS. Our real email is hosted
remotely, I checked with the admin and she said no changes were made, i.e.,
not blocking port 25 traffic from the gateway.
I guess this isn't ASP specific, but any ideas how to troubleshoot this?
TIA!
Tom 4 3081
What does "quit working" mean? Do you get an error message? If so, what is
it? Otherwise, what is the symptom? What mail object are you using? What
is the from / to address? How many To, CC, BCC recipients are there? Are
you sure the domain of the sender/recipient is allowed in to the mail
server? Was the SMTP server changed to disallow relaying from all but
certain IPs? Is the SMTP server set up to require authentication for
outgoing mail? Are there any SMTP rules that you may be violating?
"Tom Petersen" <pe****@sdsd.sdbor.edu> wrote in message
news:Oc**************@TK2MSFTNGP12.phx.gbl... Ok, I'm 99.9999999999999999999% sure there haven't been any code changes, since the date stamps of the code are older than any email 'failures'
The email piece quit working using the mail.send. If there haven't been
any changes made to previously working code, where do I look for the problem now? I restarted the SMTPservice in IIS. Our real email is hosted remotely, I checked with the admin and she said no changes were made,
i.e., not blocking port 25 traffic from the gateway.
I guess this isn't ASP specific, but any ideas how to troubleshoot this?
TIA! Tom
This is part of the message in my C:\Inetpub\mailroot\Badmail folder
Reporting-MTA: dns;sd-school
Received-From-MTA: dns;sd-school
Arrival-Date: Mon, 20 Oct 2003 14:51:02 -0500
Final-Recipient: rfc822;pe****@sdsd.sdbor.edu
Action: failed
Status: 5.0.0
The email address is valid. I don't get any error messages except for the
above in the folder.
Code snippet:
Set Mail=Server.CreateObject("CDONTS.NewMail")
Mail.To="do**********@sdsd.sdbor.edu"
Mail.CC= strmEmail
Mail.From= strEmail
Mail.Subject="Maintenance Request"
Mail.Body= strBody
Mail.Send
Set Mail=nothing
If I do a response.write on all of the variables, they all display
correctly. I have additional code that puts all of this, plus additional
info into a simple access database, all of that info is correct when I view
it.
One To, one CC.
I did not make any changes to the SMTP server. ( I didn't uninstall and
reinstall yet, I may do that next)
No authentication
No rule violations
All of the SMTP settings are set to Anonymous
"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> wrote in message
news:%2***************@tk2msftngp13.phx.gbl... What does "quit working" mean? Do you get an error message? If so, what
is it? Otherwise, what is the symptom? What mail object are you using?
What is the from / to address? How many To, CC, BCC recipients are there? Are you sure the domain of the sender/recipient is allowed in to the mail server? Was the SMTP server changed to disallow relaying from all but certain IPs? Is the SMTP server set up to require authentication for outgoing mail? Are there any SMTP rules that you may be violating?
"Tom Petersen" <pe****@sdsd.sdbor.edu> wrote in message news:Oc**************@TK2MSFTNGP12.phx.gbl... Ok, I'm 99.9999999999999999999% sure there haven't been any code
changes, since the date stamps of the code are older than any email 'failures'
The email piece quit working using the mail.send. If there haven't been any changes made to previously working code, where do I look for the problem now? I restarted the SMTPservice in IIS. Our real email is hosted remotely, I checked with the admin and she said no changes were made, i.e., not blocking port 25 traffic from the gateway.
I guess this isn't ASP specific, but any ideas how to troubleshoot this?
TIA! Tom
Use CDO.Message instead of CDONTS (see http://www.aspfaq.com/2026), and send
the message to an actual SMTP server (that you can debug) instead of using
the local SMTP service. Also see http://www.aspfaq.com/2254 and http://www.aspfaq.com/2372
"Tom Petersen" <pe****@sdsd.sdbor.edu> wrote in message
news:O1*************@TK2MSFTNGP11.phx.gbl... This is part of the message in my C:\Inetpub\mailroot\Badmail folder
Reporting-MTA: dns;sd-school Received-From-MTA: dns;sd-school Arrival-Date: Mon, 20 Oct 2003 14:51:02 -0500
Final-Recipient: rfc822;pe****@sdsd.sdbor.edu Action: failed Status: 5.0.0
The email address is valid. I don't get any error messages except for the above in the folder.
Code snippet: Set Mail=Server.CreateObject("CDONTS.NewMail") Mail.To="do**********@sdsd.sdbor.edu" Mail.CC= strmEmail Mail.From= strEmail Mail.Subject="Maintenance Request" Mail.Body= strBody Mail.Send Set Mail=nothing If I do a response.write on all of the variables, they all display correctly. I have additional code that puts all of this, plus additional info into a simple access database, all of that info is correct when I
view it. One To, one CC.
I did not make any changes to the SMTP server. ( I didn't uninstall and reinstall yet, I may do that next) No authentication No rule violations All of the SMTP settings are set to Anonymous
"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> wrote in message news:%2***************@tk2msftngp13.phx.gbl... What does "quit working" mean? Do you get an error message? If so,
what is it? Otherwise, what is the symptom? What mail object are you using? What is the from / to address? How many To, CC, BCC recipients are there?
Are you sure the domain of the sender/recipient is allowed in to the mail server? Was the SMTP server changed to disallow relaying from all but certain IPs? Is the SMTP server set up to require authentication for outgoing mail? Are there any SMTP rules that you may be violating?
"Tom Petersen" <pe****@sdsd.sdbor.edu> wrote in message news:Oc**************@TK2MSFTNGP12.phx.gbl... Ok, I'm 99.9999999999999999999% sure there haven't been any code changes, since the date stamps of the code are older than any email 'failures'
The email piece quit working using the mail.send. If there haven't
been any changes made to previously working code, where do I look for the
problem now? I restarted the SMTPservice in IIS. Our real email is hosted remotely, I checked with the admin and she said no changes were made, i.e., not blocking port 25 traffic from the gateway.
I guess this isn't ASP specific, but any ideas how to troubleshoot
this? TIA! Tom
Thanks, the code from 2026 worked. Not sure why the other quit working, but
I won't worry about that for now.
<!--METADATA TYPE="typelib"
UUID="CD000000-8B95-11D1-82DB-00C04FB1625D"
NAME="CDO for Windows 2000 Library" -->
<%
Set cdoConfig = Server.CreateObject("CDO.Configuration")
With cdoConfig.Fields
.Item(cdoSendUsingMethod) = cdoSendUsingPort
.Item(cdoSMTPServer) = "<enter_mail.server_here>"
.Update
End With
Set cdoMessage = Server.CreateObject("CDO.Message")
With cdoMessage
Set .Configuration = cdoConfig
.From = "fr**@me.com"
.To = "to@me.com"
.Subject = "Sample CDO Message"
.TextBody = "This is a test for CDO.message"
.Send
End With
Set cdoMessage = Nothing
Set cdoConfig = Nothing
%>
"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl... Use CDO.Message instead of CDONTS (see http://www.aspfaq.com/2026), and
send the message to an actual SMTP server (that you can debug) instead of using the local SMTP service. Also see http://www.aspfaq.com/2254 and http://www.aspfaq.com/2372
"Tom Petersen" <pe****@sdsd.sdbor.edu> wrote in message news:O1*************@TK2MSFTNGP11.phx.gbl... This is part of the message in my C:\Inetpub\mailroot\Badmail folder
Reporting-MTA: dns;sd-school Received-From-MTA: dns;sd-school Arrival-Date: Mon, 20 Oct 2003 14:51:02 -0500
Final-Recipient: rfc822;pe****@sdsd.sdbor.edu Action: failed Status: 5.0.0
The email address is valid. I don't get any error messages except for
the above in the folder.
Code snippet: Set Mail=Server.CreateObject("CDONTS.NewMail") Mail.To="do**********@sdsd.sdbor.edu" Mail.CC= strmEmail Mail.From= strEmail Mail.Subject="Maintenance Request" Mail.Body= strBody Mail.Send Set Mail=nothing If I do a response.write on all of the variables, they all display correctly. I have additional code that puts all of this, plus
additional info into a simple access database, all of that info is correct when I view it. One To, one CC.
I did not make any changes to the SMTP server. ( I didn't uninstall and reinstall yet, I may do that next) No authentication No rule violations All of the SMTP settings are set to Anonymous This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Ammar |
last post by:
OK guys,
Thanks to your help, I could finally send ASP mails with attachements...
A very strange question:
When I looked through all the sites you gave me and through Google, I got
the impression...
|
by: Kevin Harrison |
last post by:
Has anyone had any issues repeatedly sending SMTP e-mails from .Net?
I have a c# component that gets executed by multiple threads, and uses
SmtpMail.Send to send e-mails. Whilst in 80% of cases...
|
by: Tim T |
last post by:
Hi, I hope there is someone reading this that has the answer, Please Help!
I have the need to send a html email via asp.net. its easy enough to send
an html email and add attachments.
My...
|
by: RN |
last post by:
I am tired of sending mail from the built-in SMTP service for so many
reasons (errors are nondescriptive in the event log, it doesn't let me
control which IP address it sends from, and it...
|
by: alexmaster_2004 |
last post by:
Hi There
i'm using System.Web.Mail to send email message.
but i have a problem with it.
the emails that i send is in Turkish Language.
so when i send the email the receipt can't be able to raed...
| |
by: Viken Karaguesian |
last post by:
Hello all,
<SIGH> I'm soooooo sick and tired of getting spam e-mails. I'm sure that
part of the reson for this is that my e-mail address is publicly available
on my website, ready to be picked...
|
by: Ryan |
last post by:
Hi,
I receive an access denied error (see below) when attempting to send an
email with BodyFormat=MailFormat.Html from an asp.net page. Exactly the same
code works fine in a console...
|
by: Bob |
last post by:
In 2003 you could use system.web.mail to send e-mails as long as IIS server
was installed on the computer, you would be able to send e-mail fairly
easily. Since this has been made obsolete and MS...
|
by: borisding |
last post by:
Hi there,
Well, I really need help from someone here, and hope that someone will answer my question and solve my problem. I know it's very common question and being asked by many developers:
...
|
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,...
|
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: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
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...
|
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: 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...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
| |
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 ...
| |