How Do You Insert A Message In The Body Of A "<a Href="mailto:" Email..

Hey there, I have a few links in my site similar to this one.

<a href="mailto:contactus@timber.com?Subject=Contact%20Us">

When a site visiter clicks on to this link, it starts up your default browser.

Anyone know how to insert a message in the body of the email?

Something like...

View Replies


ADVERTISEMENT

Add Body To Mailto

I'm just learning ASP. I have a mailto and I have a lot of text that I want to display in the body. Is there a way to store that text in a variable & then add it to the mailto tag?

View Replies View Related

A Href Mailto From String

I have an asp page that is pulling data from a access database. The data will always be a complete email address. I am trying to make the email address on the page a simple hyperlink that opens the default email program upon click. I cannot make it work for the life of me!

<TD align=left><FONT face=Gautami size=2><%=addrRS.Fields("E_Mail")%></font></TD>

View Replies View Related

URL Displaying Wrong In Message Body

I am trying to put a URL into the body of an email message but I can't get it to display as a link. Code:

View Replies View Related

CDONTS New Line In Message Body

I have a script sending mail with asp using CDONTS. The script works fine, the only problem I have is specifying a new line in the message body.

I am used to php's imap commands where you can just set the body to be "Hi This is on a new line!" but putting in the text of the CDONTS mail just displays the as part of the text.

View Replies View Related

Including Form Items In A Message Body CDOSYS

I am having some problems with my code. It works perfectly, the only problem is that when sending the e-mail, it only sends the Message and not all fields. I need for this to send all fields in the form in the e-mail. Sorry for this very easy question but I am pulling my hair out here. It only sends one field, the "Message" field in the e-mail when it sends it. Code:

View Replies View Related

Retrieving Body Of A HTTP Message Being Posted To A Listening Asp Page

I have an ASP page that sits and listens for responses sent to it by a third party. The third party simply sends a plain text delimited response in the body of the http message.

Eg: Account=2,User=92663,Pass=OK,Action=5

What I can't figure out on my listening page, is how to capture the body of the message being posted to it, so that i can then manipulate the delimited string, and split it up into the variables for later use.

How do i get access to the body of the http page? I thought perhaps using WinHTTP, but it looks like it only works when your page goes looking for a web page, and not when a page is being submitted to it, like in this case.

View Replies View Related

Mailto: Get Email Address Form Field?

In my page, i have 6 textbox field:

name, id, email address, age and bookingStatus, bookingMessage.

when i click a button in the page(mailto), the ms outlook will opened, and all the information in the field(name, id, email address, bookingStatus, and bookingMessage) will be displayed in the ms outlook in the message part before i send the email.

I want to use the "mailto" code!

The form will be emailed to the user according to the email field, that means, the "mailto" address will come from the form "email address field" in the form

The subject of the email will be: fixed as "BOOKING STATUS"

View Replies View Related

A Loop Within The Body Of An Email?

I've created a page for our Call Center that allows them to view a list of resources that can be found on our online catalog. It's a recordset that has a checkbox associated with each title. In addition, there's several fields that they're asked to populate: "From," "To," etc so they can click the links they want to send, attach a customized message and then send it off as an email.

The problem is capturing all of the titles they've checked and publishing that list in an email. Here's the code I'm using to retrieve the results:

For i = 1 to Request.Form("check").count
set RSLink = conn.execute("select * from Master where ISBN = '" & Request.Form("check").item(i) & "'")
response.write x
Next

No problem! But how do I get that list of items that have been "checked" into the body of my email?

View Replies View Related

Creating An HTML Email Body

I have a rather large form in HTML that needs to be sent as an email. The body of the email is approx. 400 lines (that's in HTML). Is it possible to somehow transfer the entire form to the asp mail script so that it automatically sets the body of the email to contain this form (with input)? Or do I have to write the body by hand in my asp script - like this:

line 001 Body = "<table><tr><td>some text & var1 & </td></tr> "
... ..

line 200 Body = Body & "</table>"

View Replies View Related

Cdosys Body Text Is Not Being Sent By Email

cdosys body text is not being sent by email. Please see if you can spot the problem. Everything below emailHeader & emailFooter is not being sent by email.

see code below:

<!--- BEGIN CDOSYS CODE --->

<%
dim strBody
Set MailObj=CreateObject("CDO.Message")
MailObj.Subject="Your Online order from store-website"
MailObj.From= "store@store.com"
MailObj.To= Request.Form.Item("cEmail")
MailObj.Bcc="store@store.com"
MailObj.TextBody = strBody

emailHeader = "DELIVERY INFORMATION"
strBody = strBody & "DELIVERY INFORMATION (If Delivery was selected):" & VbCrLf
strBody = strBody & "Delivery Choice: " & Request.Form("dChoice") & " on " & Request.Form("choiceDate") & VbCrLf
strBody = strBody & "Delivery Name: " & Request.Form("dName") & VbCrLf
strBody = strBody & "Delivery Address: " & Request.Form("dAddress") & VbCrLf
strBody = strBody & "Delivery City: " & Request.Form("dCity") & VbCrLf
strBody = strBody & "Delivery Zipcode: " & Request.Form("dZip") & VbCrLf
strBody = strBody & "Delivery Phone: " & Request.Form("dPhone") & VbCrLf
strBody = strBody & "Delivery Instructions: " & Request.Form("dInstructions") & VbCrLf
strBody = strBody & "-----------------------------------------" & VbCrLf & VbCrLf

emailFooter = "CONTACT/BILLING INFORMATION"
strBody = strBody & "CONTACT/BILLING INFORMATION: " & VbCrLf
strBody = strBody & "Billing Name: " & Request.Form("cName") & VbCrLf
strBody = strBody & "Billing Address: " & Request.Form("cAddress") & VbCrLf
strBody = strBody & "Billing City: " & Request.Form("cCity") & VbCrLf
strBody = strBody & "Billing Zipcode: " & Request.Form("cZip") & VbCrLf
strBody = strBody & "Billing Phone: " & Request.Form("cPhone") & VbCrLf
strBody = strBody & "Billing Email: " & Request.Form("cEmail") & VbCrLf
strBody = strBody & "Amount to be paid with Gift Certificate: " & Request.Form("GiftCamount") & VbCrLf
strBody = strBody & "Gift Certificate Number: " & Request.Form("GiftCnumber") & VbCrLf
strBody = strBody & "Amount to be paid with Credit Card: " & Request.Form("cCardAmount") & VbCrLf
strBody = strBody & "Credit Card Type: " & Request.Form("cCard") & VbCrLf
strBody = strBody & "Credit Card Number: " & Request.Form("cCardNumber") & VbCrLf
strBody = strBody & "Credit Card Expiration: " & Request.Form("cCardExpiration") & VbCrLf
strBody = strBody & "-----------------------------------------" & VbCrLf

wantedCartColArray = Array(0,0,0,1,1,1,1)
wantedCartColNamesArray = Array("LineItemTax","LineItemTaxValue","ProductID","Quantity","Name","Price","Total")
wantedCartColFormatArray = Array(false,false,false,false,false,true,true)
currencyTypeArray = Array("$",0,-1,-2,-2,-2)

%>

<%
' UltraCart II Email Order Version 2.01
MailObj.TextBody = UCII.BuildEmailBody(false,emailHeader,emailFooter, _
wantedCartColArray,_
wantedCartColNamesArray,_
wantedCartColFormatArray,_
"Order ID",true,_
"Order Date",true,_
"Sub Total",true,_
"Tax",true,_
"Discount",false,_
"Shipping",false,_
"Shipping Method",false,_
"Grand Total",true,currencyTypeArray)


MailObj.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
MailObj.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "localhost"
MailObj.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
MailObj.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
MailObj.Configuration.Fields.Update
MailObj.Send
Set MailObj = nothing
%>

<!--- END CDOSYS CODE --->

View Replies View Related

Email Body Sending As Attachment

I'm trying to send out emails but the body of it keeps sending as an attachment so with some email services, such as yahoo, puts the email into the bulk mail. I was wondering if there was a way to stop it from sending the body as an attachment.

View Replies View Related

Mass Email Body Repeated Several Times.

I am testing a mass emailer that I will be sending out this week. I use ASP to read email addresses from a db table which is contains a list of email addresses of those who will receive the email blast. I have included myself to see the results of the test. I noticed when I received the email, the body or content of the email was repeated as many times as there are people in the email list the code was reading from.
Can someone tell me what I did wrong in the code below?

Code: ....

View Replies View Related

CDO Textbody Error- Displays ! In Email Body

I am currently having an issue with CDO and my asp code. The email body is including an "!" and space when the body is greater the 600 characters. Does CDO have a limit on the length of the email body. The issue is occuring both in .textbody and .htmlbody formats. Has anyone seen this before? Where do I need to look in order to determine the cause?

View Replies View Related

How To Use Href For Email Address Pulled From Database

I have the following code which displays email address from a database
However, I need to have the email address highlighted so that on clicking
the email box would open up with the email name filled in. Code:

View Replies View Related

Syntax To Have Body Of Email Include Form Fields

I finally figured out how to get my form to its database and have an
email come my way. However I am now trying to set up the body of the
email to include the form details. However the body of the email that
is sent only includes the last line of the "body" tag and has no
details next to it. Code:

View Replies View Related

Jmail 3.7.0 Sending Sessionid With Hyperlink Email Body

I use jmail to send email. Version 3.7. I want to send hyperlink in the mail body with sessionid variable. But I dont know how to concatenate it.

Here is the example which dont work.....

View Replies View Related

How To Email A Private Message

When I try to email a private message to someone who responded to my posting it tells me that i don't have priviledge. I am registered but don't understand why I cannot email a private message to anyone.

View Replies View Related

Send An Email With CDO.Message

i've a problem sending an email with IIS 5.1 (win xp pro). I was used to use deprecated CreateObject("CDONTS.NewMail") but i got an error. So i tried with Server.CreateObject("CDO.Message") and i got no errors, but i didn't receive any mail. I found some mail created in mailroot's subfolders. How can i solve?

View Replies View Related

CDO.Message Email CC List Problems

I am trying to send an email from some server side ASP code and the CC field
is giving me some problems.

The code works fine if I have one or 2 email addresses in the field (The
addresses are valid.) However if I have 4 it breaks. Now the good
part......If I copy the 4 addresses (that were causing the problem) into the
field a few times, so basically I have 16 addresses the code works!!

I don't get an error back from the code when it breaks and I don't see any
emails in the Bad Email, Pickup or Queue folders, the email just doesn't
sent at all.

Also if I put the 4 addresses into the BCC field it works fine. It only
breaks on the CC field....

View Replies View Related

Email Link In Message Through Msgbox

I am trying to include an email link in the message displayed through a msgbox function. How can I do that? or can I?

View Replies View Related

Auto Send Email To AOL User With CDO Message

Code:

Set cdoMessage = Server.CreateObject("CDO.Message")
Set cdoMessage.Configuration = cdoConfig
cdoMessage.From = "admin@nyc-discusfanatics.com"
cdoMessage.To = strEmail
cdoMessage.Subject = "NYC-Discusfanatics.com User Registration"
cdoMessage.HTMLBody = "<html>" &_
"<body>" &_
"Hello "&strUName&"<br/><br/>" &_
"Thank you for registrating with NYC-DiscusFanatics.com Please activate your account by clicking the link below.<br/><br/>" &_
"<a href='http://www.nyc-discusfanatics.com/face/dragonball/AccountActivate.asp?UserID="&strID&"'>Activate my account.</a>" &_
"<br/><br/>Thanks for your registration." &_
"<br/><br/><br/>Vincent" &_
"<br/><br/>Administrator of NYC-Discusfanatics.com" &_
"</body>" &_
"</html>"
cdoMessage.Send
Set cdoMessage = Nothing
Set cdoConfig = Nothing


I got return email that the mail fail to deliever to AOL user. I assuming AOL email doesn't accept ASP script embedded in the email?

View Replies View Related

SCH Reference In A CDOSYS Email Message Script

I'm just looking into modifying a script for an asp page and I've come across this code.

sch = "http://schemas.microsoft.com/cdo/configuration/"
Set cdoConfig = Server.CreateObject("CDO.Configuration")
With cdoConfig.Fields
.Item(sch & "sendusing") = 1
.Item(sch & "smtpserverpickupdirectory") = "c:InetpubmailrootPickup"
.update
End With
Set cdoMessage = Server.CreateObject("CDO.Message")

Could someone please explain to me what the sch reference is for and if I need it.

I'm going to create an E-mail message and use CDOSYS to send it. I think it's necessary to understand what's going on before I continue....

View Replies View Related

Can I Retrieve Sender Email Address For CDO Message ?

I have an ASP script for users to replying by email to job postings. I set
up the message using CDO as usual:

Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "Example CDO Message"
objMessage.From = "blah"
objMessage.To = "myemail@comcast.net"
objMessage.TextBody = "blah"
objMessage.Send

I did not realize that objMessage.From needs to be filled in, and that
there is no vlaidation. Suppose that's how spammers work their magic.

Is there a way to determine the user's email account so I can fill in
objMessage.From ? I am thinking No, that a server app can not strip
something off a user's PC memory. Otherwise I will have to set
objMessage.From to a generic term.

View Replies View Related

Using CDONTS To Send Japanese (UTF-8) Email Message

I'm having no luck sending an email message from an asp page with UTF-8 encoding so that Japanese characters can be correctly rendered.

View Replies View Related

CDONTS Text Based Email Message Not Working

I'm trying to send email through a form I created and everything works except the email portion. It's not sending the text message. Code:

View Replies View Related

Db Insert And Form Email

I have a form that performs a db insert (through a Dreamweaver server behavior) . After the insert, the page is redirected to a page where the form information should be mailed to a specific email address - request.form("dlEmail")

Is it so, that when I do an Insert statement, the request.form - variables get erased or so? I don't manage to get the email working. It inserts the info ok, but when coming to the sendmail.asp page, I try to refernence the different form fields, and they all appear empty.

View Replies View Related

Insert Database Records To Email

How to do i send database information to an html email using ASP?

View Replies View Related

Cannot Insert Data And Email Results

I have a form that I created via DW that inserts data into a db. I also have code that I want to use which will email the results of the form. However, I have no idea how to combine the two functions (insert and email) into one page of code. Is there a way to merge the two? Where would I put teh email code? Code:

View Replies View Related

Syntax On Passing Variables From Email Form To Insert A Database...

I'm having a problem with passing variables inserting to my database. Here's what I'm doing. I have a page where the user selects a team member (this is fine) Once the team member is selected I have the variables on the form send and email to all supervisors and the member selected (this is fine also) BUT, I'm having problems inserting the emailed information to my access 2000 database after is email. Can someone guide me in the right direction.

View Replies View Related

Form Mailto Vs CDO?

What are the advantages/disadvantages of using this form submission approach as opposed to eg: Cdo, aspEmail - it appears to harness the MS standard mailto capability?:

<FORM ENCTYPE="text/plain" NAME="test" METHOD='POST'
ACTION='mailto:info@examle.com?subject=Resume' onSubmit="return
submitForm()">

View Replies View Related

Mailto - Question

I have to use mailto so the pages opens up the users default client. I need
to format the body of the email in HTML format so I can show some the text
in bold, italics and underlined? Is this possible to do? if so how?

View Replies View Related

Function For Mailto

This may be a daft question, but if I wanted to use a simple mailto, i.e Code:

<a href="mailto:joe@bloggs.co.uk"></a>

Is this wise? from a spamming point of view. I am aware of encoders out there that basically make jargon from an email address which fools the robots, am i talking rubbish or what? Basically! Is it wise to use standard mailto links or is there a better way?

View Replies View Related







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