Get E-mail Address From Exchange
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?
View Replies
ADVERTISEMENT
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?
View Replies
View Related
I would like to ask whether do anyone who where or how can i extract email address from Exchange Server or Microsoft Outlook from a Web Application.
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
I'm using CDO from my vb component to fire email. The problem is
whenever one of the email addresses in to, or cc is wrong then none of
the mails are fired even to the correct addresses. It gives an error
like
The server rejected one or more recipient addresses. The server
response was: 550 Relaying denied for <xfd@wre.com>
My code goes like this. Why is the mail server trying to look for the
validation of email ids??I want that atleast the mail should be fired
to the correct email addresses rather than no email fire. Can i
achieve that.
Dim iMsg As New CDO.Message
Dim iConf As New CDO.Configuration
With iConf
.Fields.Item(cdoSendUsingMethod) = cdoSendUsingPort
.Fields.Item(cdoSMTPConnectionTimeout) = 10 ' quick timeout
.Fields.Item(cdoSMTPAuthenticate) = cdoBasic
.Fields.Item(cdoSendUserName) = "username"
.Fields.Item(cdoSendPassword) = "password"
.Fields.Item(cdoURLProxyServer) = "server:80"
.Fields.Item(cdoURLProxyBypass) = "<local>"
.Fields.Item(cdoURLGetLatestVersion) = True
.Fields.Update
End With
Set iMsg.Configuration = iConf
With iMsg
.To = strToEmail
.From = strFromEmail
.CC = strCCEmail
.BCC = strBCCEmail
.Subject = strMailSubject
If strMailFormat = "TEXT" Then
.TextBody = strMailBody
Else
.HTMLBody = strMailBody
End If
If strAttachment <> "" Then
.AddAttachment strAttachment
End If
If intPriority = 2 Then
.Fields.Item("urn:schemas:mailheader:X-Priority") =
cdoHigh
.Fields.Update
End If
.Send
End With
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
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.
View Replies
View Related
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?
View Replies
View Related
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.....
View Replies
View Related
Permission denied. Address 'zzz.zzz.z.zzz' is not an allowable remote socket address.
What is the significance of this error, and what should be looked into to fix the problem?
(if this is of relevance: My sandbox is localhost.. so zzz.zzz.z.zzz is internal ip)
View Replies
View Related
I need some help: with cdosys i'm able to send e-mail from asp using the local exchange
server. Now I also have to save the sent mail into the user's mailbox for future reference: how to?
I'm using:....
View Replies
View Related
I'm using CDO to send mail to the site owner from ASP pages with forms.
Recently one of my forms is occasionally sending email with what seems
to be an insertion which is replacing the plain text part of the email
with something else. Looking at the server sent email source, the
hacked emails have the following:
View Replies
View Related
has anyone got a function or subroutine which will remove blank out or remove email addresses.
i've wrote a function which will remove valid email addresses, it's pseudo addresses such as "blah @ blah.com" or "blah_at_blah_dot_com" or "blah_at_blah_._com"
the function is basically to stop users posting an email address in a message.
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
I need a code in asp that connect to the Exchange and write the new mails to sql.
View Replies
View Related
I would like to start using Outlook Web Access on my IIS 5.0 server. It has PHP and MySql on there along with their ISAPI filters. Everything works great. It has the ASP support taken off and I would like to re-add this support back to the server.Where is the ISAPI filter located at on the Server?
I am hoping that this would be the only reason that OWA will not work.
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
Does anyone know of a Banner Exchange program in ASP availavble for download - or is there a way to convert PHP programs into ASP.
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
We have a client who have exchange servers and they use active directory. From their intranet (asp) we need to have a link to the exchange server but we need to pass the window logon credentials, so they don't have to log in again on the exch server. How do I go about this?
View Replies
View Related
I am wondering if it is possible to add an exchange user/mailbox via ASP (or ASP.NET).
I've seen some examples using ADSI, but I am wondering what the simplest way of doing this is.
View Replies
View Related
Our company currently has a SQL Server 2000 database with various client information, accessed through an ASP driven intranet. We also use Exchange 2000 and a shared contacts folder. Many of the contacts are also in the SQL Db and when we get a new client, information is often entered in both places.
What I would like to figure out how to do, hopefully via ASP is create a user-defined field in the shared contacts which is their recordid in the SQL db and then be able to grab info from Exchange where needed so we would not have address & telephone numbers in both Exchange and the SQL db.
I've done a little research on using MAPI with ASP but most of what I've found relates to sending mail, not to working with shared contacts.
View Replies
View Related
Is it in ASP possible to make a webpage with folders and
subfolders where people (if they have the right password) can
download and upload files. An uploadet file should appear on the
webpage for others to use as soon as it is there.
There is probably a name for this system. I would prefer if it
could work like the Total Commander, on the internet.
View Replies
View Related
Is it possible to get the size of a users exchange 2003 mailbox from ASP?
View Replies
View Related
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?
View Replies
View Related
I have an application where I access Exchange server via an ASP-file whit
the following code:
objSession.Logon "", "", False, True, 0, True, "ExchangeServerName" & vbLF &
"mailboxUser
This works fine for years on one server. I now want to move the application
to a new server I get error code number 424. I use the same Exchange server
and the same mailboxUser but from a different server. Anyone knows what the
error code 424 means?
View Replies
View Related
Does any one know how to access Information from a Corporate Network's Exchange Server, such as an Address Book or Address Entriers for a user curerntly logged on, by means of COM (CDO) using ASP (VBScript)
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