ASP-Based Webmail: Include Original Reply Formatting

I'm building an ASP-based CRM system; a user sees the original
message, posted from the database and can hit a Reply button to
generate a TEXTAREA field on the next page that houses the original
messages and allows them to type a reply and hit a "Send" button.

The original message from the database includes natural line breaks,
as submitted--it doesn't contain any HTML breaks.

I would like to accomplish two things:

1) Add a "> " before each line of the original message, as contained
in the reply

2) In conjunction with the "> " preceding each line, break the
original messge string into logical line lengths that fit inside the
textarea field and don't wrap.

View Replies


ADVERTISEMENT

Include Different Asp File, Browser Based

I have different asp files to "include" in asp page, depends if the browser is IE or not. The browser detection is not the problem of course. I would like to know how can I include the right file, based on the browser detection.

In partly free language I need:

IF (IE) ->
<!--#include file="x.asp"-->
else
<!--#include file="y.asp"-->

I have tried to test something simple in an asp page, but not working (not too surpriseingly)

<body...>
<script language="javascript>
<!--#include file="../menu/menu.asp"-->
</script>

View Replies View Related

Formatting A HtmlBody Email String To Include Variables

I have this:

1 emailBody = "<html>" & vbCrLf _
2 & "<head>" & vbCrLf _
3 & "<title>Interpreter Request details</title> " &
vbCrLf _
4 & "</head> " & vbCrLf _
5 & "<body> " & vbCrLf _
6 & "<font face=Verdana><b>Interpreter Request
details: " & vbCrLf _
7 & "Requestor: </b><u> <% strFName strLName %></u>"
& vbCrLf _
...
& "</body> " & vbCrLf _
& "</html> " & vbCrLf

In line 7, I need to display the results of the variables strFName and
strLName (and have a space in between the two) but I don't know the proper
formatting. If I just use the & then I get the literal strFname instead of
the value. Could someone please show me the correct syntax for this?

View Replies View Related

ASP Webmail

Is there any 'plug n play' code out there to create a webmail site? I have a domain which supports pop email and i allow people their own email address from me, and some have asked if I can create a basic webmail setup.

View Replies View Related

Webmail In ASP

Can it be done without using third party components to handle the POP mailbox access side of things, or am I going to have to think about getting my own server (cos my hosts don't allow installation of custom dlls/ocxs)? I have a script example that does it in .NET but there are no plans for my hosts to upgrade to that either.....

View Replies View Related

Creating Webmail Application

Im in desperate need of in creating my own webmail application. My server is ASP and .net enabled, but i do not have access to install further components so registerring dll files is a big no no.

I need help in creating code that can access a specified pop3 server using given credentials, preferably in asp but i can also use basic .net.

Does anyone know of good source code or what standard components in the ASP or .net environment have the ability to access such data? Or if you just know a few basic lines that i can use.

My website is just a small group of friends and we cannot pay for anything so its up to me to get this setup for us. I can send mail but not receive from POP3.

View Replies View Related

ASP WebMail For Users On My Site

I am about to start developing a site that will allow users to create profiles. I would really like to be able to allow them to send and recieve e-mails to their profiles. Kind of like Yahoo (mail.yahoo.com) I would set up mail.mysite.com.

Of course I would want to have Virus and Spam protection on it, they would access it via the web, and it would be really awesome if they could sync mobile devices to it - like Web Enables PDAs with mobile outlook.

If it could be like outlook web access where the user can have contacts, a calendar, etc. That would be fantastic.

Anyway, does anyone know which corner of the web I should start my search? I don't know the technologies involved, would I need a SQL back end or anything? I'm really a first day guy on this subject.

What I am planning on having is ASP.Net, MySQL and use as many open source projects as possible to pull this site together to keep costs down. Usually I work with PHP/Apache, but a follow phase to this will be an application that will run locally, so that's why I'm working with ASP.

View Replies View Related

Free Webmail Packages

I am looking for a good free webmail package that is easy to setup and change the look of

So far i have found one named jMailBox which is simple, but i was just wondering if there was anything else around that is worth taking a look at.

View Replies View Related

Get Original URL In Redirection

I have ASP page redirect from a HTML page which is password protected by IIS auth.I would like to check whether the redirection is REALLY taken from the HTML page. Since the ASP page is located at second server, would there is a chance that ASP programming such as server object can check the original URL. Or any other method.

View Replies View Related

Preserving The Original URL

I was browsing the web the other day and a website I had a look at redirected you to a different webpage but still preserved the original URL that was typed in the address bar on the browser (it didn't move or change at all) How is that possible? I would like to do something similar.

The reason I am asking is because I want visitors to view a profile of a user like this

myweb.com/fred

this would have to be translated and redirected to mysite.com/profiles.asp?user=fred.but I want the original URL address to stay showing in the address bar

View Replies View Related

Reply Not More 40 Hrs

Here is the answer...not letting overlap scheduling per person for the same day.Code:

rs8.CursorLocation = 3
rs8.open "SELECT ID,sch_route,sch_time_start,sch_time_end,sch_date FROM realschedule " &_
"WHERE sch_date = #"&rsDate&"# " &_
"And driver_id = "&rs("Driver_ID")&" " &_

"AND ( ((#"&st&"# between sch_time_start AND sch_time_end) " &_
"or (#"&et&"# between sch_time_start AND sch_time_end) )" &_

"OR ( (sch_time_start between #"&st&"# AND #"&et&"#) " &_
"or (sch_time_end between #"&st&"# AND #"&et&"#) ) )",conn

View Replies View Related

Return To Original Form

I have several different ASP forms (call them Form A,B, and C). "Button X" is on each of them (Forms A,B, and C). "Button X" calls ASP Form D and does some processing. After I am finished with the processing I want to go back to the original Form, either A, B, or C, which ever one "Button X" was clicked on.

I think I am looking for something like

Response.Redirect ("Parent.Form")

View Replies View Related

Download Original ASP Page

I received a "friendly" message of fellow webmaster saying that I had a security issue whereas it was possible to download my original ASP code.

As a proof he emailed a copy of one ASP page of a website I have been working on.

View Replies View Related

Reply To Newsgroup

how can I reply to newsgroup for quicker response

View Replies View Related

Reply-to Address

can someone tell me if it's possible to send delivery status notifications (or NDRs) to the Reply-To address (specified in CDOSYS script) rather than the FROM address?

View Replies View Related

Reply Interested

Problem fixed
^.^

Using ADODB.Command and call stored procedure

It can pass unicode data

You cannot call the stored procedure by using following method

set rs = server.createobject("ADODB.Recordset")
rs.execute "stored_procedure 'param1', 'param2'", connection

This method is sql collation dependency, and cannot stored other coding for example: if you want said simplify chinese in database, which collation is Taiwan, it is failed although you set the field as N'' type.
^.^

View Replies View Related

Get Original Querystring Values After Decryption

Anyone have a VB function or know how to retrieve original querystring values after they have been decryted and lie within a string? Code:

View Replies View Related

Sent Messages/reply To User Error

I have a problem when a user login to the site and when they tried to write or reply a message to other user I got this error message:

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/write.asp, line 122

800401f3


I am running windows 2003 server with IIS6 installed with all the access component install. I am not sure what causing it. The weird part it sent or reply messages to the user but it just give that error messages. I had include the error code below write.asp I only copy and paste half the text in here. Code:

View Replies View Related

Parent - Child - Submit - Reply

I am trying to redirect back to a child form after a submit with a file upload and verification of file data. I would like to go back to the form and display a message returning the status of the data. Is that possible? Any suggestions on an alternate? I am using classic ASP, javascript and vbscript.

View Replies View Related

ASP Formmail W/ Courtesy Reply Back?

Can anyone help me with asp code for my form that enables sending a confirmation/courtesy e-mail back to the form submitter?

View Replies View Related

Populate A Popup Window With Clickable Records From An Access DB And Upon Clicking, Populate A Selectbox On The Original Webpage With The Clicked Record

We have an ASP site that hits up an Access database of categories of
products and products. (e.g. Categories = Napkins, Tablecloths;
Products = 20x20 Napkins, 21x21 Napkins, 54x54 Tablecloths, 60x60
Tablecloths)

We currently have select boxes that when you select a category, it
populates the next select box with the proper list of products (i.e. I
select Napkins as a category, I get a listing of the Napkins)

We would like to put a clickable link before each of these select
boxes that would pull up a pop up with links from the records from the
proper table.

(e.g. I click the categories link and a popup with html
anchor tags of Napkins and Tablecloths appear) I click on the Napkins
anchor and it populates the Categories Select box with Categories and
Napkins being selected.

View Replies View Related

Include More Than 1 Include File

I want to be to call my menu from another file onto my page so that i dont have to add it to every page of my website. The problem is when i try to add it using the include method it says that only one include file is allowed on an ASP. The other include file is my connection string so i cant really take that out of the page because then nothing else will work!

How can i get the menu page included as well as the connecting string?

Have added the code below, i have highlighted the 2 include files that i want to use in blue, i have also left the div tag in for where i currently have the menu which is what i want to take out and have ther include file there instead, if that makes sense. Basically the bit in red i want to be able to remove from all of my pages and add the blue file above the red code in instead, but i dont know how!!!!! Code:

View Replies View Related

XML Formatting

I’m having an issue saving/reading an xml file.The source of this file is a the parameter of an object. Through the UI the user can change the value (xml string) of this parameter.

The problem is that the parameter needs the xml with > , < , and " instead of the > , < , " chars. However when I save it, the xml dom and even the fso save it with the actual xml chars. Other than a literal search, is there an easy way to convert the file to have the special chars?

View Replies View Related

ASP Formatting

Im looking for an online site that I can format or tidy ASP pages. If any one also knows of a software application that can format asp /html pages id be greatfull of that link too.

View Replies View Related

Tag And Formatting

I'm having users enter a message into a textarea, but I'm having problems with the formatting. How do I add " " characters where they have pressed enter?

This is being entered into a MySQL database, so I have already replaced the ' with '.

View Replies View Related

Web-based Sql Db Mgr

it appears that my ISP is blocking port 1433 which means i can no longer connect to my sql db on the web. had been using an access project or another program called WinSQL. so i'm forced to go with a web-based solution and i don't really have time to build one from scratch. the host this site is on still hasn't installed the .net framework so i have to go with a classic asp solution.

View Replies View Related

Formatting Variables

I am requesting a variable for the users' network username:

<%=Request.ServerVariables("LOGON_USER")%>

This returns the following:

NETWORKJ.Bloggs

Instead I would like it to return J.Bloggs on it's own with out the "NETWORK" bit so basically I am saying how do I cut out the first 8 characters of a variable.

View Replies View Related

Report Formatting

I have users typing in information into a text box. Sometimes this information can be lengthy and contain simple formatting such as spacess between lines and line numbering. For example:

1. List item number one

2. List item number two

I then have a report page that prints out this information. Unfortunately, the line spacing doesn't show up in the report. It's just all jumbled together. I'm just using <%= Notes %> to show the db field. Is there a way that I can show the formatting that was originally entered or do I need to use some kind of word processor like I am using to type this post?

View Replies View Related

Form Formatting In Asp

I would like to know how to format phone numbers and ssn numbers in textbox. That is when I enter the phone number, it is going to the database as 000,000,0000. I want to have it as either 0000000000 or 000-000-0000. Likewise, for ssn also. I am really fed up with javascript, somehow, it doesn't work well for me. Always, get page errors and it is not that easy to find out the errors in javascript.....

View Replies View Related

Date Formatting

i have a date in the following format: 12/1/2003

how do i reference just the 'day' portion of this date - in other words '1'

if the date was 12/10/2003, then i would just want the '10'

View Replies View Related

Time Formatting In ASP

I'm developing in ASP/VBScript using DreamweaberMX, w/ an Access 2000 DB as the
data source. The source of the data is coming from a third party, which I get as
a CSV and import into the database, updating it weekly.

Since I have no control over how the data is collected, I'm not sure how to fix
this problem, but here it is.

This is a database of movies and among the many fields I import is one for the
movie's length, expressed in HH:MM:SS. This comes into the Access DB as a
Date/Time format, which means all the dates, displayed raw in the DB, look like
"12:09:52 AM". Through data formatting, however, displaying it to the client as
HH:MM:SS is no problem. (Display "12:36:00 AM" as military time (00:36:00) tells
me the movie is 0 hrs, 36 minutes, 0 seconds long. Follow?)

But in an update form, which we'll use to correct errors (and there always seem
to be errors in the running times of movies), I can't figure out how to display
it in the HH:MM:SS format in an INPUT field and have it submit without throwing
a data type mismatch error. It seems to want to display as "12:36:00 AM"

Converting the field to a text type is out of the question at this point, so I
know I need to do some type of string manipulation prior to update. However, I'm
lost ...

Any ideas?

View Replies View Related

E-mail Formatting?

When e-mailing invoices and estimates, is there any way to customize the
presentation of the e-mail beyond changing the message? Specifically,
I'd like to add some html so the receiver can click on a link to pay
online. As it is, I can type the URL in the message, but it appears only
as text to the reader, not a hotlink, which, unfortunately, is quite
vexing to some of my clients.

It would also be nice to add a company logo, etc. to the email body.

On this same subject, is it possible to send the entire invoice/estimate
as HTML rather than an attached PDF? I haven't seen these options
anywhere.

View Replies View Related

XML DOM And Saving Formatting?

I'm currently doing some work with ASP and XML DOM.

Is there any way when saving XML to get ASP to save it in a formatted way? Similar to PHP's formatOutput setting? At the moment my xml is being appended on line e.g

<test>1</test><test>2</test>
Is there a setting to get ASP to save XML like:

<test>1</test>
<test>2</test>

The XML document I'm working on is fairly large and its proving very difficult to read through the xml at the moment.

View Replies View Related







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