Ask a Question related to ASP, Design and Development.
-
Tom Petersen #1
mail.send - dumb question
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
Tom Petersen Guest
-
the script hangs up when i try to send mail with attachments using MAIL::Sender...???
As said in the topic... when i try to send an e-mail message using Mail::Sender the script hangs up before execution of $sender ->... -
Dumb, dumb, dumb. Macromedia really fumbled the ball here...
An entire afternoon wasted only to discover, like several others before me apparently, no small amount of clairvoyance is required to determine the... -
Can't send/receive Mail (Apple Mail)
Somehow, I can't send or receive any E-mails... I'm using apple mail and tried with entourage, too... I also checked user name, password..etc... -
Dumb ass question about networking and Mail
I'm trying to set up two computers running 10.2.6 connected by an ethernet cable. I have the file sharing thing set up ok in as much as I can get... -
Send Same E-mail To Multiple E-mail Addresses?
"Ralph Swanson" <r.swanson@sbcglobal.net> wrote: You need one. First add all the Addresses to your Address Book, then go File > New Group and... -
Aaron Bertrand - MVP #2
Re: mail.send - dumb question
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" <petert@sdsd.sdbor.edu> wrote in message
news:Oc6MYX0lDHA.2200@TK2MSFTNGP12.phx.gbl...any> 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 beeni.e.,> 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,> not blocking port 25 traffic from the gateway.
>
> I guess this isn't ASP specific, but any ideas how to troubleshoot this?
>
> TIA!
> Tom
>
>
Aaron Bertrand - MVP Guest
-
Tom Petersen #3
Re: mail.send - dumb question
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;petert@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="donald.moore@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" <aaron@TRASHaspfaq.com> wrote in message
news:%23vKHee0lDHA.976@tk2msftngp13.phx.gbl...is> What does "quit working" mean? Do you get an error message? If so, whatWhat> it? Otherwise, what is the symptom? What mail object are you using?changes,> 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" <petert@sdsd.sdbor.edu> wrote in message
> news:Oc6MYX0lDHA.2200@TK2MSFTNGP12.phx.gbl...> > Ok, I'm 99.9999999999999999999% sure there haven't been any code> any> > 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> i.e.,> > 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,>> > not blocking port 25 traffic from the gateway.
> >
> > I guess this isn't ASP specific, but any ideas how to troubleshoot this?
> >
> > TIA!
> > Tom
> >
> >
>
Tom Petersen Guest
-
Aaron Bertrand - MVP #4
Re: mail.send - dumb question
Use CDO.Message instead of CDONTS (see [url]http://www.aspfaq.com/2026[/url]), and send
the message to an actual SMTP server (that you can debug) instead of using
the local SMTP service. Also see [url]http://www.aspfaq.com/2254[/url] and
[url]http://www.aspfaq.com/2372[/url]
"Tom Petersen" <petert@sdsd.sdbor.edu> wrote in message
news:O113Eo0lDHA.392@TK2MSFTNGP11.phx.gbl...view> 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;petert@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="donald.moore@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 Iwhat> 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" <aaron@TRASHaspfaq.com> wrote in message
> news:%23vKHee0lDHA.976@tk2msftngp13.phx.gbl...> > What does "quit working" mean? Do you get an error message? If so,Are> is> What> > it? Otherwise, what is the symptom? What mail object are you using?> > is the from / to address? How many To, CC, BCC recipients are there?been> changes,> > 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" <petert@sdsd.sdbor.edu> wrote in message
> > news:Oc6MYX0lDHA.2200@TK2MSFTNGP12.phx.gbl...> > > Ok, I'm 99.9999999999999999999% sure there haven't been any code> > > 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'tproblem> > any> > > changes made to previously working code, where do I look for thethis?> > i.e.,> > > 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,> > > not blocking port 25 traffic from the gateway.
> > >
> > > I guess this isn't ASP specific, but any ideas how to troubleshoot>> >> > >
> > > TIA!
> > > Tom
> > >
> > >
> >
>
Aaron Bertrand - MVP Guest
-
Tom Petersen #5
Re: mail.send - dumb question
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 = "from@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" <aaron@TRASHaspfaq.com> wrote in message
news:%23U9UIr0lDHA.2160@TK2MSFTNGP10.phx.gbl...send> Use CDO.Message instead of CDONTS (see [url]http://www.aspfaq.com/2026[/url]), andthe> the message to an actual SMTP server (that you can debug) instead of using
> the local SMTP service. Also see [url]http://www.aspfaq.com/2254[/url] and
> [url]http://www.aspfaq.com/2372[/url]
>
>
>
>
> "Tom Petersen" <petert@sdsd.sdbor.edu> wrote in message
> news:O113Eo0lDHA.392@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;petert@sdsd.sdbor.edu
> > Action: failed
> > Status: 5.0.0
> >
> > The email address is valid. I don't get any error messages except foradditional> > above in the folder.
> >
> > Code snippet:
> > Set Mail=Server.CreateObject("CDONTS.NewMail")
> > Mail.To="donald.moore@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> view> > info into a simple access database, all of that info is correct when I> > 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
> >
Tom Petersen Guest



Reply With Quote

