Allow Certain Users To Read Mail

Current code directs users to a payment processing page when trying to read mail if no premium account. Works OK. But also want to allow all users to read and send mails from and to just the Admin user.

1st. my current code checks if the user has a premium account: .....

View Replies


ADVERTISEMENT

Allow Users To Read And Set CSS From Web Page

I have an ASP site where the majority of the site style is set in CSS but certain aspects such as font and background colors for sections is set by the user in a web page, with the data being pulled from an Access database.

It should be noted that the site is an open source forum and the user mentioned above is the admin for the site - so this only means limited access to this functionality but allows the admin to customise their forum for their users easily, whilst keeping them from the more crucial aspects of the CSS which afect table layouts etc.

The question has been asked - is it possible to not have to split the CSS like this (some in Db some in CSS sheet) and instead include it all in a style sheet?

I guess what I am asking is - is it possible to read and write to the style sheet from ASP, and if so how would you identify each CSS ID or Class?

View Replies View Related

Read Mail

I need to access my pop mail account and download my e-mail to a database
file which is on the my localmechine.

is any one of you try to read mails with asp?

in case you might think so;
I know how to send mails with asp code.
I know how to send mails with outlook or any other client
I also know how to use webmail system
and I don't want to have to export mails from outlook.

View Replies View Related

Read XML E-mail Attachments

I was wondering if somebody could point me in the right direction on this subject.

Basically, I have a mailbox which recieves emails with an XML attachment. What I would like to do is read the XML attachment on each new email received and then insert it into an SQL database. As it stands I am unsure of which path to take and my initial google searches have come up with nothing so far.

Does anyone have any ideas as to how to approach this problem?

View Replies View Related

Can I Read Mail (from An Inbox) On An Exchnage Server With ASP?

Can I read mail (from an inbox) on an exchnage server with ASP?

If so, how?

I hear all this about CDO, CDOSYS, etc, but they all seem to be able to
only send mail. I just need to read mail from exchange server. Can
this be done?

View Replies View Related

Logging Users :: Transactions My Users Perform

I want to be able to log in a database any transactions my users perform. For example logging in, requesting a page, downloading a resource, logging out etc.

What is the most practical way to code this? I was thinking of trying to use an include file which would have a function to add a log in the database for each page on the site or when a particular action is performed.

View Replies View Related

Send A Mail With Cdosys And Save A Copy In The Sent Mail Folder: How To?

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

Mail Insertion Hack On Send Mail Form

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

Sending Mail Using ASP/VBScript To Exchange Mail Box

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

Invalid Mail Address Gives Error In CDO Mail

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

Sending E-mail To Different Mail Box!

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?

View Replies View Related

Asp Mail Without Using A Mail Component

I'm looking for an asp code who can send an email without using a mail component. I started to write somethings using winsock but I don't have enough time to finish it.

View Replies View Related

How Many Users Per Pub?

I have 3 tables

members, pubs, favepubs

favepubs contains

favepubID, UserID (from members), PubID (from Pubs)

I'd like to join all 3 and maybe count the users?!

basically i want to show in my list of pubs how many users like that pub

Example:

The Red Lion (4 members - click for more details)
The Royal Oak (2 members - Click for more details)

or

The Red Lion (Jarv, Test, Admin, Shelly)

View Replies View Related

No Of Users

I'm hosting a couple of ASP applications on my server. How can I tell the number of users currently logged on, and can I get any details about them ?

View Replies View Related

See The Users Logged In

How do we have a track of users who have logged in? I want to have a table of record with usernames and the status(logged in or logged out).

Whenever the user logs in, the status shud indicate he is logged in and when he logs out the status shud change accordingly. Does anybody know how to do this???

View Replies View Related

Multiple Users

I am using asp codes to connect to my access database. But i have a query in mind. Will my database still work if more than 1 user is logon to edit the database records?

View Replies View Related

Users Are Prompted

is this a permissions issue that happened at the server side
When I go to one of the .asp pages it brings up the "malicious code" prompt,asking whether I should open or save the file.
How do I make it so it just executes the file?

View Replies View Related

Users Dbo. And Viss.

My database tables uses two users, namely dbo. and viss.
so in sql server 2005, every table has the following name structure:

dbo.members
viss.customers
etc

In source code, sql queries are used without adding usernames. Like,

INSERT INTO members
UPDATE customers

Now I get sql erros as 'invalid tablename members' to solve this I add username to query, like dbo.members. That would solve the problem, but is there an easier way to solve this? Because I'm working with a complicated application and it has allot of files, adjusting each query is an option but any other solution? Code:

View Replies View Related

Message All Users

I have a database that is setup with a messages table... I have been asked to modify the following script to do the following...

Message ALL Users or Message All Admins or Message Individual Users (with the option to select multiple users - such as 2 or 3) or Message Individual Admins...

The Database is designed with a User table and each user is assigned a "Type" such as "admin" or "user" - can anyone look at the following and give me an idea how to implement this function?

It needs to be setup where the admins and users are seperated so its ok to have two Options boxes that display a users section and a admin section..

Here is the code:

View Replies View Related

Authenticating Users

I have an intranet which all staff have access to. All staff can log in to the intranet to amend their own personal info. Currently staff have seperate passwords for logging on to their machines (ie ACL on network server) and logging on to the intranet.

Is it possible to have someone automatically logged in to the intranet based on their windows username and password for the domain?

Just wondering if anyone else has tried this. I think I saw this as an option in ASP.NET but my intranet is built using ASP.

View Replies View Related

Currently Logged Users

I want to create a page in ASP language which gives me information about
currently logged users. I thought to do it by this way: when somebody
will log in to page, there will be a value of this user id stored in the
table among the other fields in the form which are filling in. After
clicking on the button "Log off" the value of the user id will be
deleted from the MS SQL Server 2000 database. I would do it, but I don`t
know how to solve the problem when somebody will close the Internet
Explorer window by clicking "x". Then the procedure of deleting a value
of user id will not call, and this value will be still stored in the
database, so I will not have actual state of currently logged users.Maybe there is another possiblity to do it?

View Replies View Related

IIS Too Many Users Connected

I attempt to acceed to ASP files. I use IIS. In Netscape the error Too Many Users Connected HTTP 403.9 (defined in IIS).

View Replies View Related

Detect Mac IE Users

Does any one know how to detect if a user is using IE on a Mac so i can route them to another page.I have tried the following:Code:

strUA = Request.ServerVariables("HTTP_USER_AGENT")

But how do i parse this info to determine whether they are a MAC IE user ?

View Replies View Related

Creating AD Users Through ASP?

is this possible? AD being active directory...

View Replies View Related

Active Users

I need to display information a list of Active users on a web site.I can do the count using the global.asa but need to display individual information about each "active user" without writing it all to a database and then pulling it out again.Info I need :

IP Address - Request.ServerVariables("REMOTE_HOST")
The page they are on - Request.ServerVariables("SCRIPT_NAME")
the page they were on - Request.ServerVariables("HTTP_REFERER")

Can I write this stuff into sessions and call them all out?

View Replies View Related

Authenticating Users

I need to authenticate users to enter in a NTLM-protected virtual directory,but I can't pop up a NT-login dialogue box - I can only do a web-based username/password form (my client is a "usability" firm!). After searchingand searching, I finally found up with this solution to use ADSI to authenticate users transparently:

http://www.eggheadcafe.com/articles/20010126.asp

I tried the script and I am able to authenticate that the user exists with the correct password, but when I redirect the user to the virtual directory,the popup box is still popping up! I think what is happening is that I am not actually passing the username/password to the NT server.

Is anybody familiar with using ADSI for NT log in's?Am I on the righttrack?And if so, how do I actually do this so that the NT login boxdoesn't pop up?

View Replies View Related

Users Profile

would it go something like: viewmember.asp?=ID

I want to make this a link to this users profile:
Code:

<%=(rsReply2.Fields.Item("rsCommentby").Value)%>

View Replies View Related

Tracking Users

I am trying to create a website for students where they have to log in before they can access any of the materials on the site. Therefore the login will be done on the homepage. Providing log in is successful, I then want to be able to track which student downloads which materials. I know how to deal with the login code but am not sure when I create the session variables to track the users. Is this done on the following page? Also do I need to use the global.asa file?

does the session on start event happen the minute the student arrives at the homepage or can I tell it to start once the students have logged in? any advice will be gladly received.

View Replies View Related

Logging Users Log

i would like to automitically log when a user signs in, presumably using a seperate Access database. Can anyone point to to a simple way of accomplishing this?

View Replies View Related

Windows Users

We have an extranet located on one server that users access via a redirect on a URL. To access the extranet, they click on a link and have to enter their windows network logon details.

They then access the extranet which is based on Microsoft Sharepoint Services. I have written customised ASP pages, located on a second server on the same network, but want to use the same windows logon details.

View Replies View Related

Authentication With NT Users

how I create a login page which authenticates users against the servers user manager. I want the login to be a form in my website not a pop up window. I am currently running IIS 5 on a windows 2000 member server.

View Replies View Related

Active Users

I'm developing an online shopping cart. Usually the site administrator modifies products etc in the "Store". I want a mechanism for the administrator such that he should be
able to view or at-least count the customers or visitors in my "Store" (only in store), users of the other sections should not be counted.

Whenever a user in my store signs out or closes the browser (not properly sign out) or even leaves the "Store" the count should decrement.

View Replies View Related

Counting Users

I am trying to work out how to set up two counters on my site, one to track guest users and one to track registered users, like most forums show. There are loads of examples showing how to use the global.asa file to do a single active user count, but I can't find anything for my needs.

Has anyone come across such a script, or give me a clue how to write my own? All registered users are marked by a session variable called userLogged - which is true if they have logged in.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved