Exchange Server For SMTP
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.
View Replies
ADVERTISEMENT
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...?
View Replies
View Related
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.
View Replies
View Related
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.
P.S. I’m using Dreamweaver MX2004.
The code that sends email is shown below ....
View Replies
View Related
I require an Asp script that will enable me to get all sizes of mailboxes held on Exchange Server v5.5. What I want to achieve is to list all users with a mailbox over a certain Kb size.
View Replies
View Related
I am an intermediate with ASP and i'm not sure if this is possible but i'll give it a shot. I am creating a Listserv (newsgroup) and I want them able to reply to messages in there email. Right now I have sign up form online which connectes to an access db which stores the emails. The admin uses a web based form to send letters and if the subscribers want to send a message or reply they have to use another web form. How can I use exchange server to eliminate the web based forms?
So basicly I want them to reply in like outlook, but the emails are all in access. So when they reply to the list email (list@home.com), somewhere in the exchange server the server will read the db and send the message to the subscribed emails.
View Replies
View Related
I'm sending email from a networked computer that uses an exchange server on yet a different computer. With the two different types of code posted below, the email will only send successfully on my computer. When I step into a colleague's office (using the same exchange server), no email is ever sent....
View Replies
View Related
I have a form with a input text box where a user has to enter a work email address.Is there anyway that he or she can click a link which will open Microsoft Outlook and list all the work email addresses, thereby selecting an email address which will be automatically inoutted into the input text box?
View Replies
View Related
I have developed a fairly simple CMS for my intranet at work - I would like to have a "Request a photographer form" that e-mails me the posted data by utilizing our intranet exchange server, if possible.
I'm not really looking to code this but I will if I absolutely have to =) Anyone know how to do it or where I can find a simple form script that does? I have found lots that work with sendmail and other types of servers but none for exchange.
View Replies
View Related
How would I be able to simply read an MS Exchange Server 2000 mail and transfer it to a SQL Server 2000 database programmatically. I need reference for this an has been unsuccessful in looking for any for the past week already.
View Replies
View Related
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?
View Replies
View Related
Is there any difference in sending an email through asp.net using Exchange Server rather than the normal way?
View Replies
View Related
I am having a problem here to send my asp form to my email! I am using CDONTS under w2k and IIS! when i submit the form, all of the message (that suppose to go to my email), went to the queue folder under wwwroot!! nothing appear to my yahoo email also...
that means that my script is working...but only the configuration is need to be adjust here!
the thing is that i dont know how to configure, setup or setting the configuration for Exchange server! since my organization uses exchange server instead of the SMTP!
View Replies
View Related
Im trying to create an application that when sent an email, retrieves the email, and uses its content to create an MS Outlook/Exchange task request.
I have everything else in place, but when I try to connect to CDO's MAPI interface, I get [Collaboration Data Objects - [MAPI_E_LOGON_FAILED(80040111)]] error messages.
I've tried numerous examples from books and the internet to no avail.
Could anyone shed some light as to why this is so? I've also exhaustively searched the archives on this site for examples and used some of them but I keep getting the same errors. Code:
View Replies
View Related
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.
View Replies
View Related
anyone know if this is possible? I need to specify a different one than the default.
View Replies
View Related
I have the following code, that retrieves the emails from a designated inbox, stores the message and subject content in a SQL database and then deletes them from the exchange server. Now I need to take the attachments for each email and save them on a different server.
I've researched this all day, and I keep finding references stating that I can download the file using, X-MS-ENUMATTS. I'm using it currently to retrieve a list of attached files, however I fail to see how I can download the attachment to my webserver using this.
The red code below is a request to the actual file. So I know the http path to the file, how do I go about saving it to my server? If I can't downlaod it without any user interaction, is there at least a way that I could allow the user to download the file via a link, without them being prompted for a username or password? Code:
View Replies
View Related
Anyone 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 Related
1. 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:
View Replies
View Related
Is it possible to create an ASP page that can notify the user that they have an email on our Exchange server? And that will list the number of unread emails they have waiting in their inbox.
View Replies
View Related
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 Related
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?
View Replies
View Related
I 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?
View Replies
View Related
Does anybody know of a good way to get a list of emails from the corporate
exchange server from a corporate website?
View Replies
View Related
My question is do ASP need to declare smtp server when send email using CDonts function?
View Replies
View Related
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: ....
View Replies
View Related
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
I have created a simple set of asp pages which do some funky database stuff. One aspect which I would appreciate some help on is Email.I have created these pages for use internally to my work network, mainly admin database entry type stuff. The network has several exchange servers. I would like to send a notification email everytime a function within tthe asp scripts is made (i.e. every time a new set of information is added to a database) to a select few people (which may well change from time to time). Now I thought that I might create a new mailbox on an exchange server and send mail via this, so that if anyone were to reply to the notification mail it would go back to the mailbox. Therefore, using the exchange server mailbox as my pump for shooting off mails all over, I could create an email rule which would forward anything from my asp pages to the relavent people.Couple of questions 1) is this a logical approach 2) if the answer to 1 is yes then what is the best method of shooting off emails from asp scripts to the exchange server?? (would it just be using the SMTP service)
View Replies
View Related
I have written a asp form and i'm trying to figure out how i can connect it to send out an email.
The form is running through the process & isn't showing any errors, but it isn't sending out the email either from the form. I know that our IT guy is running MS Exchange for our email, but I believe that it is on a seperate box as well. Does anyone have any suggestions or advice?
View Replies
View Related
I am trying to configure CDO at my facility and wonder if I should use it
through IIS or our Exchange server? Can anyone point me in the right
direction? We are using Windows 2000 Server with IIS and Windows 2000
Server with Exchange 5.5.
View Replies
View Related
I am writing a small CRM at the moment and would like one of the features to be that the first page picks up mail from a 'info@' mailbox on a locally hosted exchange 2003 server.
I am finding it a nightmare to track-down either how to do this or find the right info, I think partly because the methods may have changed with server upgrades.
Is there a definative method I should be using and any pointers to documentation etc.
View Replies
View Related
i have started software and web Development business. But I dont have an idea about Link Exchange what is this.When i develop website for my client how i use Link Exchange in my Client's Website.
View Replies
View Related
I have developed an asp application and I would like to add an e-mailing feature. I have code to send an e-mail but I want to be able to query exchange 2000 or active directory for the users e-mail address. Every users e-mail address is listed in AD and Exchange 2000. I will only have the users username to search with.
View Replies
View Related