CDNOTS Problem Sending Mail To Lotus Notes And Exchange
I am developing a small Intranet web application which needs to send mails to our coporate Ids.
I am using CDONTS, But my mails never leave Que folder. Not able to find out what the problem is . please help
1) I am very new to SMTP configiration on my own Windows XP PC. How do I configure to send mails. We Use Lotus Notes as our mail. Please help me with some documents with this subject. Still some guys in our company use Exchange. So my ASP should be able
to send mail to both.
2) I am sure there is nothing wrong with my code. Suggest me if there is something wrong with this.....
Here's the scenario. I'm currently using cdosys/asp to send mail to our SMTP server. We use a product called MailFilter to check for SPAM. It doesn't work very well. If MailFilter isn't working cdosys also has problems and emails don't get sent. As these email are confirmations for customer's bookings this means lots of customers calling to see where their confirmation emails have gone. The root of the problem is MailFilter but that here to stay. So I had this thought of sending the message to a queue of some sort so at least they will get to the customer eventually rather than being lost for good. So here's the question:
Can I/How do I send messages to a mailbox on our exchange server using cdo.message?
I'm developing a service request form for our intranet that will send out an email when it is submitted. Sending to an internet email address, something@yahoo.com, poses no issue, but a lot of the staff only have internal email accounts.
Is there a way to send an emmail to a MS Exchange Alias?
I have worked with CDO mail before at a different job, but at that job I was developing internet sites, and now I am developing Intranet apps. We have the following setup, WWW/SQL on 1 server, mail server, PDC and SDC (and Proxy), all OS's are Windows 2000 Server (except Proxy, it is NT4).
What would be the best way to allow sending emails from ASP?
I have asp for an employee directory with photos. All the info is stored in an Access database including e-mail address and phone number. I would really like to get the e-mail and phone numbers from our Outlook/Exchange address book. This address book is kept updated but my database is not. How would I go about extracting this info from our global address list? Would it be better to create something that updated the Access database offline rather than dynamically query each persons entry from the web server? Any hints on how to do either?
I use the method below to send emails from an asp page that's part of a web application:
<!--METADATA TYPE="typelib" UUID="CD000000-8B95-11D1-82DB-00C04FB1625D" NAME="CDO for Windows 2000 Library" --> <% On error Resume Next Dim cdoConfig, cdoMessage
Set cdoConfig = Server.CreateObject("CDO.Configuration") With cdoConfig.Fields .Item(cdoSendUsingMethod) = 2 .Item(cdoSMTPServer) = "MailServer.Name.com" .Item(cdoSMTPServerPort) = 25 .Update End With Set cdoMessage = Server.CreateObject("CDO.Message") With cdoMessage Set .Configuration = cdoConfig .From = "Me<mailsender@mymail.com>" .To = "You<mailrecipient@somemail.com>" .Subject = "Surprise!" .TextBody = "Helloooo..." .Send
If err.number Then Response.Write("Houston! We have a problem...") End If End With Set cdoMessage = Nothing Set cdoConfig = Nothing %>
On the production server (Windows 2003 Server) everything works fine and I don't have a problem sending the mails from the application. However, I recently upgraded my development box to Windows XP Pro SP2 and the code fails with with the following error:
CDO.Message.1 (0x80040213) The transport failed to connect to the server.
The from and to email addresses that I'm using are valid and part of my domain (not a Hotmail or other freemail address).
The SMTP service is up and running on the dev box.
I also tried replacing the mail server name with the IP address of the mail server, but again it's failing.
We are running Exchange Server for email and if I change the cdoSendUsingMethod to 3 (for cdoSendUsingExchange) the mail is sent correctly without errors.
Will I not able to use the cdoSendUsingPort method to send the email if I'm on Exchange? Am I forced to use cdoSendUsingExchange?
I have no idea how to get started, really, but I am looking for a way to have an email sent via an ASP page via our Exchange 2000 server.
I have a fairly simple asp page that displays data from a SQL 2000 database in the form of web links. A part of this page allows people to post links to the database for display. When someone posts a link, I would like an email sent to me with the data (link) that they posted through the ASP page.
This page is on our internal web server only and only our domain users can access this web server. We have a single exchange 2000 mail server.
I did look at ASPFAQ 2026 on using CDO for sending e-mail but this doesn't help me much because it doesn't say anything about connecting to the exchange server or anything about proper authentication with the exchange server.
I have created a form that sends email thru my local server. What I want to do is send the email thru our corporate Exchange server. Does anyone know how I can accomplish this task? Please advise. Thanks.
I' m using opertion system XP PRO,i have instelled the IIs 5.1. im trying to simulate sending email to my outlook express but it'snt working,somebody can tell me if i need to install any other componente?
how to conigurate my smtp(what is my host name,how can i find it)?
i use a personal web server and i'd like to send a mail into an ASP page. Usually, i use CDONT component but it seems it does not work on Personal Web Server.
Our server is a Windows 2000 Server with Service Pack 3, IIS 5 with Lockdown Wizard applied.
My first problem is related to CDONTS.NewMail. Up until recently, I had no problems sending e-mail with this little utility. Our current development efforts are moving to .NET so it didn't matter to us that this is something that won't be supported anymore by MS. However, while we are in the process of flipping to .NET, this is something we're still using for the time being.
The problem I'm having is that the e-mail is not getting sent at all! I don't get any errors or anything like that, and when I look at our IIS 4 relaying SMTP mail server, and then look at our big outgoing mail server, I can't find the e-mail anywhere in there. It's like it vanishes. Can anyone give any insights?
Secondly, we have an older Access based training application that again, up until recently was working just fine. I don't know if the IIS lockdown wizard did something I'm not aware of, but now on the line in the ASP file where the server goes to open the database using the DSN, I get an "Unspecified Error"
I checked www.aspfaq.com and found the article about this and tried all of the tricks mentioned there for this error message. Granting the IUSR_machinename account read/write access toe the TEMP directory got me further into the file, but it didn't get me far enough to finish it because later on in the file, when the server goes to open another connectio nthe the database, I get he same problem. I cannot modify the source code on this page without killing our support contract or warranty on the product. Can anyone give me any thoughts on this one?
I am using CDONTS to send a mail.There is no error in the code and it says that the mail has been send successfully,But i am not receiving any mails .The Code
Set vobjMail = CreateObject("CDO.Message") vobjMail.From= Email address vobjMail.To= Email address vobjMail.Subject= The subject vobjMail.TextBody= The Body vobjMail.Send
I would like to know if this can be achieved! On the form I a drop down menu that's called ("Escalation_type") the values are eta, hdtv, and supervisors. I have some ideas but I am not sure if it will work or not. If the use chooses an eta as a value I would like it to be sent a mailbox for exam: no@where.com. If they choose hdtv as value I would like it to be sent to a different mailbox. Can this be achieve by using the case statement or the if statement?
I'm working on a few intranet pages and have a doubt on how to send e-mails ( i have the aspemail component installed) to outside clients including the invoice for services payment.So differently from Intranet issues where you easily provide a link embeedded on the e-mail, I can't figure how to show the info from outside offices network. Does anyone knows how to do it? perhaps printingscreen the html page by code and then send to the client as a embedded image or something....?
I attach files from the folder uploads which r uploaded there by the user. The problem is that when i recieve the attachment i get a .dat extension with it for eg ;if i attach a.txt i recieve a.txt.dat....
I am usually a CDONTS man but the hosting company say I must use CDOSYS. The following code seems to only work correctly when the recipients email address is the same as the sender address.
I have tried to send the email to Hotmail, Yahoo and GMail accounts and it does not send. No error messages, just is not received in the inbox of the account.....
I'm trying to send mail from my ASP page using CDO, but when I execute the query no mail is sent. How do I set up my internet incoming mail server and outgoing SMTP server?
I'm having a few problems sending an email using CDO from a webpage , just wondered if anyone knew what the error message i'm getting could mean , and if the code i'm using looks ok.
Set ObjMail = Server.CreateObject("CDO.Message") Set iConf = CreateObject("CDO.Configuration") Set Flds = iConf.Fields .....
I tried to cend mails with CDONTS.NewMail and the local smtp service of the iis. It works. BUT I tried to send a mail to a invalid address. I got an email (like I configured at the smtp) but the badmail directory is allready empty! I nned the entries for a bounce-management!
I am learning ASP.NET , I want to send mail from my application so I need to configure IIS.I have written code for it but my mail is in Queue or Droped. I think I have not configured IIS properly.Can anyone tell me in detail how to configure it.
i have an asp file that will send an email to such person but some data should be etrieved from the database.once i run it, only the last record is being displayed... do i have to put do while ... in Mail part?what is the code am i going to put in "Mail.Body" part?
I am using this code to send a mail from a feedback form page, but this code is not working. can anybody tell me what mistake I am doing . My requirement is , the message of feedback form will go as a content of a mail to a specific person.
<% Set Mail=Server.CreateObject("CDONTS.NewMail") Mail.To="emailid" Mail.From="emailid" Mail.Subject="Just testing my script" Mail.Body="Hey! I am sending this email through an ASP Page, and guess what? I haven’t learnt much yet, but know that ASP is very powerful." Mail.Send Set Mail=nothing %>
i have an ASP script that steps thru a db containg email addresses, using cdonts. i get server script timeout errors with any more that around 200 email address. i'm on shared hosting and am unable to change server timeout times.
is there an alternative that i can send emails to quite a few members (over say 500+) without getting timeouts ?