Link To E-mail An HTML Document

I need to know how to write a link that will e-mail html code. If it's possible, I want to have the user click on a link and have Outlook open up with a title (this part already works) and the body filled with html code that I push in. Here is my current code:

response.redirect "mailto:?subject=" & session("screenname") & "Report&Body=" & session("msgblock")

The session values are from a previous asp page that links to this page when you click an the e-mail link.

The session values both show up when I put in a response.write and the title (which is not html, just text) works in the response.redirect -- Outlook opens just fine. The problem is with the msgblock which is in html. Do I need to write a script so that Outlook knows to format for html? Any ideas?

View Replies


ADVERTISEMENT

How Do I Link An Asp Page To A Pdf Document And Render It In A Web Browser

how do i link an asp page to a pdf document and render it (the pdf document)in a web browser without it downloading to the client computer viewing it?

i have tried the response.contenttype="application/pdf"

now the main problem is how to embed the pdf doc in that asp page!

View Replies View Related

ASP Mail Document As Attachment

I have an ASP script that send mail to recipients:

inside it have:

1. link to a document stored on my server
2. same document as attachment

Problem:

sometimes the when you try to open the attachment it opens as gebberesh, and word ask you to choose encoding (offcourse no encoding fits).

In the same time when you try to open this document via link to a server it opens fine....

View Replies View Related

Attach Link Within E-mail

How do you send a link to a Web page within an e-mail message which was sent using a send_mail function(consisting of the object CDO.Message)?

View Replies View Related

E-mail Link With Variable

I am writing a system from which I would like user to be a ble to send e-mail that contain in the body a link to an asp file which also have a variable added to the end of the link.

example URL

the trouble is using mailto the body only displays

URL

I have tried replaceing ? and = with the ISO values but it still won't work.

View Replies View Related

Authenticating/identifying Recipient Of Mail (with Link)

I'm looking to distribute links to a site by mail, and then identify the users following those links. (ie. embedding user id in the url, and retrieving that data)

I think Dev sheds activate account feature does what I need, as does similar features of other sites, so I would think this is pretty standardized. Unfortunately, I can't figure out what I need to feed the search engines in order to elicit a tutorial....

View Replies View Related

HTML Link

how do you display asp content in html for use with a hylperlink? for example:

("test.asp?name=" & objRS("name")).

View Replies View Related

Get Html Link

I need a regular expression that will return all href values from a <a> tags. The block of code I want to feed in may contain more than one eg:

<A href="http://www.asite.com" target=_blank>A Site</A><br /><A href="http://www.anothersite.co.uk" target=_blank>Another site</A>

needs to return:

http://www.asite.com http://www.anothersite.co.uk

View Replies View Related

Calling Html Link

I have a need to call an html page into the pane I'm viewing using a button on an ASP page. The page itself is an ASP page called from a website. I know a link would work but the rest of the page has buttons and it would look cleaner to use a button.

I've tried the below in a few variations, including using a href tags inside the onclick. Anyone have a suggestion on what I'm doing wrong here?

View Replies View Related

HTML Mail

I am trying to write a session value into a html email body and am unsure of the syntax:

Title=Session ( "Title" )

HTML = HTML & "<FONT SIZE=""6"" FACE=""BERNHARDFASHION BT"" COLOR=""#FFC880""><B>Session ( ""Title"" )</B></FONT></td></tr>"

View Replies View Related

ASP In HTML-mail Using CDONTS

Sending mails using CDONTS works great but I have (for now) just 1 minor problem.
I would like to place the username (of the person located in my database) inside my input-box (type="text") and send that as a page to the person using cdonts.

here's a part of my code (simplified):

HTML = HTML & "<html>"
HTML = HTML & "<head>"
HTML = HTML & "</head>"
HTML = HTML & "<body>"
HTML = HTML & Email: <input type=""text"" name=""email"" value=""<% = strEmail %>"">
HTML = HTML & "</form>"
HTML = HTML & "</body>"
MyCDO.Body = HTML

So the problem arises at line 5 here. He does not understand the asp-tags inside the text. Anyone who knows how to solve this?

View Replies View Related

Generating HTML Mail

I m displaying details of a document after getting data from multiple tables of my database. Now i wanted to generate an HTML enabled email with the same
document as content. I m using ChilkatWebMail for this purpose which has a method
objMail.send([HTML Here]).

When i send this mail it generates error. Actual problem is organizing html data before sending. I can't write whole html in send() method. Because my html is very long and fetches data at runtime. I m also uses subroutines to perform individual tasks. So whenever i call a subroutine,it generates error.

View Replies View Related

HTML Mail WYSIWYG Component

Anybody know a good component for sending HTML mail with WYSIWYG? I am bulding a system with a lot of Mac (maybe old versions) Internet Explorer/Netcape users.

View Replies View Related

Send Mail In HTML ERROR

I have a small problrm in sending mail in HTML

I'v done this code, but.:

Code:

Private sub SendMail()
MailBefore = "<html>" & chr(13)
MailBefore = MailBefore & "<head><title>" & MailSubject & "</title></head>" & chr(13)
MailBefore = MailBefore & "<body>"
MailBody = MailBefore & MailBody & "</body></hmtl>"
select case strMailMethod
case "cdonts":
SendCdonts()

I receive like this....:

View Replies View Related

Sending Mail With Asp From An Html Form

I need to send a form via email using ASP to my client. My form is in HTML.

I'm using method="POST" action="mail.asp"

How do I grab the fields and send them using ASP?

here's the first part of my html:

View Replies View Related

Html Code In E-mail Body

I have a e-mail function in serverside VB, how would i put html code in the body variable so when email is recieved it looks like html page in the body. right now it just shows up as text in the body of message,

<html><head></head><body><table><tr><td>one</td><td>two</td><td>three</td>
<td>four</td></tr></table></body></html>

There must be a way because i get emails with html ?

View Replies View Related

Send E-mail In HTML Format

If i want to send an email in HTML format, do i just set the bodyFormat to 1 or it's much more complicated? any examples available?

View Replies View Related

Send HTML Body Format CDO Mail

I have been using CDO Mail but the message body is plain text. Is there a way that I may send an HTML body so that I can format some tables?

View Replies View Related

Tool To Convert Html To Multiline String For Mail?

I need to convert html into a multiline string which looks something like this:

shtml = "<table border=""0"" cellspacing=""0"" cellpadding=""0""
width=""720"">" & _ "<tr><td width=""100%"" valign=""top""><br>
<!-- MainTable -->" & _

....

Is there a tool that can do this?

View Replies View Related

Form Processing Script: Results In HTML Mail Format?

I have purchased a form processing script, which basically saves the data into a database, emails certain people's email addresses with the form results, and also sends an email to the user that filled in the form with a thank you email.

However, all the emails are being sent in plain text format. I would like to change this to HTML so I can make the results look nicer and also make the thank you email look nicer.

I have emailed the script developers, but have yet had a response from them, so i thought id put a post on here!

I have found the part of the coding that sends the Thank You email out to the user once they have filled in the form:

'/// Send Autoresponse
if replyto<>"" and (autoresponse<>"" or sendcopy<>"") then
if sendcopy<>"" then autoresponse=autoresponse & vbcrlf & vbcrlf & message
call sendmail(replyto,mailadmin,formname,autoresponse)
end if
end if .......

View Replies View Related

Get Data From Form, Send To A Html File And Send A Mail

i am trying harder to mix this 2 solutions... but without success... the below on seen to be grabing a template and replace the data with the values posted in a form Code:

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

Copy Part Of HTML Table To Another HTML Page

I have a table having 3 columns. There is a checkbox for each line. I
need to get those lines whose checkboxes are checked, and show those
lines to another webpage. Is there any way to do that? My concern is
that all information in the table are in <tb></tb> pairs without any
name tag. Any idea?

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

Displaying The HTML Code In HTML

I'm doing a content management system, whereby the user can enter the HTML code for a currency symbol, eg &pound; for £.y . when I bring this data backup, say they want to edit the settings, then my ASP/HTML page is rendering the HTML code, eg £, rather than showing the original value, eg &pound;.

If for example I put a space between the '&' and the 'pound;', eg & pound; then this will cause me problems because the user will think that they have to a put a space in or they file it with the space, which means the HTML code won't work any more. Is there a way round this?

View Replies View Related

ASP In XSL Document

First of all, yes we are still using classic ASP, lol. I have a XSL
document that is reading in info from a XML file. I have to display
serveral server side dates on the page. Is there anyway to use ASP
code inside a XSL document.

I have tried the following.

<![CDATA[ <%=Date()%]]>

This does not work. In the view source the < and get changed to
&ls; and &gt;. Is this possible? Is there any other way to read a
server side date from this xsl page? If not I will have to re design
the hole page.

View Replies View Related

XML Document

Is it possible to query the database using an ASP doc, then write the data to an XML document? The XML document is then going to pass the data as variables into a flash mx file, but the issue right now is just how to write to XML from an asp doc

View Replies View Related

How To Get The Document Name In ASP

Is it possible to get the current document name (file name only) in ASP? When I load a document, i.e. /a/b/default.asp, I would like to be able to get the name of the document I'm currently loading (default.asp) to do some processing before displaying the contents.

View Replies View Related

MS Word Document

I want to do a Ms Word document in a ASP page. I can do it, With the code lines:

/////
Response.ContentType = "application/msword"
Response.AddHeader "content-disposition", "inline; filename=OrderFax.doc"
////
With these lines all document content show like a Word document.

But i can not change the MARGINS of this Word document.And Default
left/right margins are very bigs.

I try it, change the <body> attributes and with styles, but this don't work,
the margins are always the same.

How can i modify the margins of word document? I should do this with another method?
Can I modify PC client settings to change the defaults margins of word document create througt the web?

View Replies View Related







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