Declare Smtp Server When Send Email
My question is do ASP need to declare smtp server when send email using CDonts function?
View RepliesMy question is do ASP need to declare smtp server when send email using CDonts function?
View RepliesI was able to send email via the server in both .NET and ASP (using CDO for ASP). However I had to configure a SMTP server for this to work, which means the email will be sent via the server's SMTP service. so this could mean a lot of overload on the server. So as to reduce the work on the server, is there another way to send email to people?
View Replies View RelatedI am having problems trying to send emails using IIS 5.1 and ASP on a XP Pro box
I think that it is a configuration problem in my SMTP setup
I can send emails using Telnet but when I send via ASP they all end up in the Queue folder
ASP is not generating any error messages
Have tried code using CDO and CDONTS but I do not think it is a code issue
Sometimes I get a system event error saying that cannot do a DNS lookup on my send address
Any suggestions please
Properties for SMTP on my system:
General IP address : all unassigned
Access Relay: {my computer IP address}
Delivery Advanced Smart Host: mail.bigpond.com
Delivery Advanced Fully qualified domain name: {my computer name}
I'm using CDO object to send email but it doesn't send any email and it does
not give an error.
My code look like this: .....
It seem that I did not configure the SMTP service on a Windows 2000 server correctly because all the email is been sent to InetpubmailrootQueue directory. Do I need to install Outlook for the email to send the mail to the recipient?
View Replies View RelatedI am running Win XP and have installed the IIS SMTP service, however I'm not sure what I need to do to configure both the SMTP service and CDOSYS properly to allow me to send out email from an ASP script.
THE PROBLEM:
What is happening is the email is not sent and goes to the 'c:InetpubmailrootQueue' folder. I have checked the event viewer and the error I receive is:
Message delivery to the remote domain 'yahoo.com' failed for the following reason: The remote server did not respond to a connection attempt.
I believe the SMTP service isn't setup correctly or I haven't configured CDOSYS properly in my ASP script.
The CDOSYS part of my ASP script is setup as follows (I am using Javascript with ASP btw):
Code: .....
I have a CDONTS script which has been sending mail from a client's website form to their address. However, the script has suddenly stopped working after three years of working fine. It doesn't error, they just don't receive the mail any more. I've tried CCing myself in the script and can confirm the mail is not getting through. The script itself is tried and tested and syntaxially correct, and it is hosted on a windows 2000 server which has not been changed or reconfigured at all recently.
I think the problem is because they're using their own exchange server, not the web hosts' mail server. Therefore I would expect that mail sent from the web script wouldn't go through because there is no local mail server to process it.
The problem is that the script hasn't changed, the host say their system hasn't changed, and the client's IT team say their exchange settings haven't changed!?!
I could set up a CDOSYS script to use their Exchange server to deal with the email, but their IT support won't allow relaying, so I don't think this is possible.
Is connecting to their Exchange box the only option, or should the website host still be able to process the web-script-generated mail despite not being their mail provider? I'm getting a lot of grief here, but it can't be the script that has suddenly broken because nobody has touched it!
Is it possible to set up server-side mail services such that when someone
e-mails to a certain address, the contents attached to that mail are
processed and the processed content is returned to the user, again, as an
attachment?I installed a server-side component for managing graphics. "Wouldn't it be
nice," thought I, "if untutored staff could email graphics to a certain
e-mail address to have them resized and returned to them.")
I understand how to handle the graphics processing and the sending. I don't
understand how to set things up so that e-mailing to a certain address will
trigger the start of an application. Ideally you could do this all within
ASP. Is this possible?
I am working on a listing for sending emails via CDONTS component...
I have installed SMTP service on my machine and tried running the sample code....No errors appear, yet no mail is sent in the long run...All necessary services are up and running (IIS Admin, WWW and SMTP).
Another thing is that i have checked to see if Default SMTP Virtual Server is listed under the Internet Services Manager pane tree, but nothing seems to be there except Default FTP Site and Default Web Site....
The question might seem silly but...do i have to have a Mail Server installed.....?
How can i determine the cause that prevents the mail from being sent...Logs don't help much....Is there a way to detect the actual presence of the component...?
I've set up a website contact page which uses CDOSYS to send form details to an email address.
However, the domain is set up such as the client is using their own mail server, and using my server only to host the website.
Ordinarily I would set up hosting with email and change the nameservers of the domain to point to my server, but in this case the client is keeping the nameserver details the same, but just updating the A record to point to my server to display the website.
Trouble is, the CDOSYS email doesn't seem to work with this set-up. Do I need to hard code their mail server IP somewhere to get it to work?
I need to send a email to my clients from my website using the email object. I developed my site in ASP, and the server is linux, thats why i cann't use CDONTS object to send emails bcz server is not IIS....
View Replies View Relatedhow to send an HTMl email from an external server. I am trying to Send email using CDOSYS
this i what i have tried but cant get it to work.
I want to send email with attachment. I have no problem if the file is located on the same server but i got error when attach file from different server. This is the code,
set mail=server.CreateObject("persits.mailsender")
mail.host="smtp.mydomain.com"
.....
'mail.addattachment "c:attach est.txt" ' no problem with this
mail.addattachment "websvrattach est.txt"
.......
mail.send
I got this error,
"Persits.MailSender.4 error '800a0007'
Logon failure: unknown user name or bad password."
when i changed the servername to static ip address also got the same error.
any idea? fyi, this user has an administrator rights to the server.
I am using ASP formmail from www.brainjar.com. I keep getting this error message:
Form could not be processed due to the following errors:
Email send failed: The server rejected one or more recipient addresses. The server response was: 550 endlessenergysystems.com.
The email address in the form is correct and does work. I have changed the settings to different email address and SMTP servers to try to figure out the issue. However I still get the same error. Here are the basic settings:
referers = Array("www.endlessenergysystems.com", "endlessenergysystems.com")
mailComp = "CDOSYS"
smtpServer = "smtp.readyhosting.com"
fromAddr = "info@endlessenergysystems.com"
Our network administrator does not want to install the IIS SMTP server on
our intranet. He wants me to use our existing SMTP server
"mail.smpi.siemens.ca". Can I do this with IIS?? Is this a setting in an
ASP if I'm not running the IIS SMTP server?
We are running on Windows 2000 SP4 with IIS5.
I use CDOsys and this code to specify the recipient. I guess I could create two separate instances of the objMail and specify everything one more time, but I want to send mails to two persons at once (the recipient and myself) and therefore wonder if there is a shorter way to do it.
View Replies View RelatedI want to send e-mails from my asp pages but don't know how to achieve that. I have tried to create CDO/CDONTS server objects but without luck. I guess I don't have SMTP installed or not configured appropriately.
Can you help me here? What do I need to do (and if complicated how is it done) to get an SMTP server up an running?
Since I want to be able to send a confirmation e-mail (containing user name/pwd etc.) to every visitor that enters some info in a form on my web page I wonder how that is done.
I have heard about SMTP and CDO but don't know the differences or which one is applicable in my case
I'm running xp-pro and use my computer as a web server but don't know if I have SMTP installed (or how to use it if it actually is there).
can we send email from our internal server without using an external SMTP provider?
View Replies View Relatedi've been looking EVERYWHERE and I can't find anything on how to send an email within asp. But not just an email, my smtp server requires authentication and i haven't been able to come across anything that supports sending username/passwords.
View Replies View RelatedI've been using CDOSYS Mail and this bit of code fine for a year. Well, we wanted to change the method of sending email from the Webserver sending it, to designating a specific SMPT server.
So, I found this code on MSFT's web site (MSFT CDOSYS SMTP ) that will allow me to do this, and it works, except that the redirect command that I have at the end of the file no longer works. I have no idea why.
Thi is the error I get:
error '8004020f'
/asp/send_email_foundation_conf.asp, line 78
Code: ...........
I have Road Runner cable internet access and Im working in a local development environment (writing .ASP) and have a site running on my network on a windows xp pro machine via IIS with CDONTS installed.
When I try to send a confirmation email (simple text) via CDONTS the message is built but remains on the server in the QUEUE folder ... how can I tweak the SMTP settings on the server to allow me to send email out from the server...
just the occassional test as I develop sites - not looking to spam and have a fairly full featured router to block external access to SMTP machine so its not abused.
When a file is uploaded, notifications go out to Admins. Currently Admins have the ability to have 3 email addresses that the notification can be sent to.
Now lets say they only have 1 email address for a contact. When I run the code below, it cycles through to everyone that needs to be contacted and sends email to all 3 addresses.....BUT #2 & #3 are empty and then in my SMTP folder I receive a bunch of files in the badmail folder.
I need to correct this so that I can eliminate having to go and purge on a daily basis.
Now I am sure that there is a better way of doing this... I inherited this and am looking for some help with correcting this....
Another newbie's questions
How do I find my STMP server ( I need it to use AspSmartMail)?
My web site is being hosted on a .com , do I have to ask them? Or can I find it by myself.
anyone know if this is possible? I need to specify a different one than the default.
View Replies View RelatedAnyone has ideas how to send an email through ASP without having an SMTP server? I'm currently building a website which needs emails to be sent when users submits a form, however the web space provider doesn't not have an SMTP server. I'm now using CDO on my local testing server (with SMTP installed) and it works, but I just don't know how to get it working after uploading it because the remote server hasn't got SMTP on it.
View Replies View Related1. I wonder, why do I need to add the following lines when sending forms through mail, using CDO component?
2. If I remove these lines and the form is still submitted as it should, and I get the mail as a result as it should, does it mean I do not need these lines?
3. In other words - How do I know if an SMTP service is installed on the local server, and not in another network (besides asking the admin)? Code:
I have no knowledge of Exchange server, and have always used CDO to send emails from ASP in the past. the server in question doesn't have SMTP installed alongside IIS, it has Exchange installed which apparantly does have SMTP capabilities but not like the default ones normally accessbile via IIS.
Has anyone ever used this approach to sending emails? I'm hoping that I dont need a component or anything else, just some changes to my existing email code.
Is it possible to logon to the SMTP server that comes with IIS from a machine other than the actual server. Ideally I would want to put some VB Script in an SQL Server Job Schedule or an ASP page that uses CDONTS and use it to pull the emails into the database. The SQL Server is on another machine on the network. Is this viable.
View Replies View RelatedI have an application which sends emails. Currently we use the mailenable web server.
If an email is not sent successfully then we want to update the email address in our database as unreacheable automatically.
In other words we want a mail server that when it gives up sending an email will do an http post, or will somehow communicate with our software so that we can update our database. if ther is a mailserver which will do this?
i used the following script but it won't send the email. any suggestions why?
<%
Dim TBdy
Dim MyCDO
CR = Chr(13)
Set MyCDO = Server.CreateObject("CDONTS.NewMail")
MyCDO.From = "person@something.org"
MyCDO.To = "allstar@aol.com"
MyCDO.Subject = "collegebound info"
TBdy = Request.Form("cb_name")
MyCDO.Body = TBdy
MyCDO.Importance = 1 (Normal)
MyCDO.Send
Set MyCDO = nothing
%>
Not sure which forum this belongs in, so here it is here as well as in the IIS forum
I am migrating a Windows 2000 Server Web Server with an older version of IIS to a new Windows 2003 Server with IIS 6.0.....Everything is working properly accept web forms which simply send an email via a SMTP service installed in IIS:
this is the code: ....
i am having trouble getting CDOSYS to work, i have just changed from CDONTS (which was working fine), because i want to be able to email a webpage as my body Code:
View Replies View Related