473,387 Members | 1,464 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Sending ASP page as e-mail

TMN
We have an ASP-based call center application that our call center operators
use to track calls and forward job assignments. This app replaces a
VB6-based client-server app used previously. In the client-server app, the
operators could open a work ticket and click a button on that page that
would send all of the data on the page to a new Outlook mail message where
the operator could type in additional information then send the details. The
web version of the system does not have this feature - it just formats the
page's data into a new page with no graphics that the operator can then
"send page by e-mail" which attaches the html page to the mail message. The
operators want the data in the body of the message, not as an attachment. I
cannot for the life of me find a means of passing the data on the ASP page
to a new mail message in the body which will also allow the operator to add
notes to the message before sending. Can anyone help?
Jul 19 '05 #1
1 1654
Whatever you're outputting to the screen (e.g. replace all inline HTML with
response.write "<html tags>") you could store in variables and append them
to the bodytext property of an e-mail message. So you could do something
like this:

<%
ticketnumber = request.form("ticketnumber")

body = "Thank you for filing a ticket, your ticket number is <b>" &
ticketnumber & "</b>"

response.write body

set mailer = server.createobject("mailer.progid")
...
mailer.bodytext = body
...
mailer.send

...
%>


"TMN" <tm****@hotmail.com> wrote in message
news:eq**************@TK2MSFTNGP11.phx.gbl...
We have an ASP-based call center application that our call center operators use to track calls and forward job assignments. This app replaces a
VB6-based client-server app used previously. In the client-server app, the
operators could open a work ticket and click a button on that page that
would send all of the data on the page to a new Outlook mail message where the operator could type in additional information then send the details. The web version of the system does not have this feature - it just formats the
page's data into a new page with no graphics that the operator can then
"send page by e-mail" which attaches the html page to the mail message. The operators want the data in the body of the message, not as an attachment. I cannot for the life of me find a means of passing the data on the ASP page
to a new mail message in the body which will also allow the operator to add notes to the message before sending. Can anyone help?

Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Joe | last post by:
Hi, I am sending an email from an asp page. Besides sending an email to sender, I am sending myself a BCC also. Out of 100 emails sent, about 5 recipients received a blank email (no text in...
7
by: Jay Douglas | last post by:
Hello all, I have a asp.net page that creates a pdf on the fly and sends the pdf down to the browser. When calling the page up in IE the Page_Load event is fried twice. This doesn't happen with...
7
by: Lau | last post by:
I need to send 1000 emails from an asp.net website. Normally I would use System.Web.Mail.MailMessage() to send thru an SMTP server. But the large amount of emails results in a timeout. My server...
2
by: Dee | last post by:
Hi I have added EnableViewStateMac="false" to the sending WebForm's @Page Directive and my sample code has the following line: Dim coll As...
3
by: Sydney | last post by:
Hi, I am trying to construct a WSE 2.0 security SOAP request in VBScript on an HTML page to send off to a webservice. I think I've almost got it but I'm having an issue generating the nonce...
4
by: Roger Withnell | last post by:
I'm sending Russian text in an email generated from the website which displays in the email as ?????????? The website is set to codepage 65001 and the charset to utf-8. Please advise. ...
1
by: R.A.M. | last post by:
Hello, I have written an .aspx page which calls Calendar.aspx page to select birth date which should be assign to some text box control on first page. Here's the code of first page: Birthdate:...
8
by: Amol | last post by:
Hi , I am developing a web application.I need an interface in my application which will allow the user to send the fax domestic /international.I dont want to use 3rd party tool /service .Does...
2
by: jabdulius | last post by:
Hi all, I'm trying to send a page using Perl via the WCTP protocol. For some reason, I cannot connect to the host "wctp.att.net/WCTP" (or any host for that matter). I figure it must be some...
8
by: Marty | last post by:
I'm having issues sending an email to an "@page.nextel.com" email address. I can send to any other email address fine, but when I try the page.nextel.com it gives me this error: ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.