Sending Email Both As Html And Plain Text

Is it possible to send email both as plain text and html in the same email
using asp?,,,if so...how do you do it and what do you need to set up to do
it.

View Replies


ADVERTISEMENT

How? Send Same Email As HTML *or* Plain Text

I'm looking for a simple way to do the following:

We have a database that serves-up content to a website. Some of those items
are events, some are news articles. They're stored in the DB as formatted
HTML so ASP just drops them right into a page shell.

Now, we want to send out a newsletter email containing some of those items.
No problem sending as HTML. However, some of the members want just plain
text. Is there some magic method in CDO that can automatically convert HTML
to plain text? Or, is there some existing VBScript code out there that can
do this?

BTW, the environment is IIS 5.x (Windows 2000), Classic ASP, and CDO.

View Replies View Related

HTML Email Can't Be Read As Plain Text??

I'm using the ASPEmail component to send HTML email newsletters:

Mail.Host = "mail.myserver.co.uk"
Mail.From = strFrom
Mail.FromName = strFromName
Mail.AddAddress strTo, strName_In
Mail.Subject = strSubject
Mail.Body = strMessage
Mail.AltBody = "PLAIN TEXT VERSION"
Mail.isHTML = True
Mail.SendToQueue

The emails are coming through fine, though in Outlook the option to 'View as Plain Text' is greyed-out. This should let the user see the plain text version as defined in the code above, but it is inactive.

View Replies View Related

HTML And Plain Text

Is it possible with CDOSYS to send HTML emails with a plain text alternative? If not, I'm going to have to purchase 3rd party mail component (e.g. JMail) which I'm not really keen to do.

View Replies View Related

Plain Text Email

how i have multiple line and link in my plain text cdosys email? below is my coding in html, how do i put it in plain text cdosys?Code:

bodytext = bodytext & "<p>paragraph1</p><p><a href='http://www.google.com'>paragraph2</a><p>"

View Replies View Related

Sending HTML Email

I have a client that wants to send HTML based email.

Building and sending isn't a problem, but he wants to include a plain text link at the top of the email that will display if the user doesn't not accept HTML email. Maybe it is the product we are using to send the email, but there is no way to include non-HTML formatted text in the email. Is there a way to send non-HTML and HTML in a single email?

View Replies View Related

Sending Dynamic Html Email

I am currently building an emailing system into our asp management system. From this we will be able to setup mail templates (html stored in mssql database) and select who we want to send them to.The html in the database is only the middle part of the html file being sent. All the emails are based on the same design template using a single html file to which I pass a variable saying which body to get from the database <%=writeBody%>. So far this is all working fine and the emails are sending using cdo.

..createMHTMLBody
"http://localhost/helpCentric/responseSendForm.asp?"&qString

What i am trying to do now is personalise the emails and on the responseSendForm.asp I connect to the database and create variables such as fName, lName etc.I need to be able to write these variables in the html in the database which will then display in the body using the <%=writeBody%>.As you may have guess this is not working and I dont know enough aboutthe .createMHTMLBody to work out what to do.

View Replies View Related

Creating And Sending Html Email

i have a web site built using vbasic active server scripting running on iis (it works on either iis 50 and 60, but is designed for iis 50). i know how to create a plain text email by creating a text file, with content following certain format, and saving that file into the correct '..mailrootpickup' folder, and it is working fine.

what i would like to know is how to create and send an email in html format from my server script. i will appreciate anyone who can tell me where to find instructions on
how to do this.

View Replies View Related

Sending Launching Email With HTML Attachment

Can anyone get me started or point me to a resource for some help?

I have an ASP page that displays various boxes, tables, and information. I want to be able to click an "Email" button and have the asp page save the page as an attachment (html?) and then launch Outlook and automatically attach the page to it and enter the email address of the person I want to send it to.

I can't just send a link because the page is generated on an Intranet and I need to send it to people outside the network. So, I need to save a print screen of the page and then have Outlook grab that and the recipient's email address and put those into Outlook so the sender can review and send out.

View Replies View Related

Sending Html With Picture Formated Email

I can send email in html format using cdo.message. but when i insert picture in that html tags. but that email has no pictures....

View Replies View Related

Need Help Sending CDO Email With Dynamic HTML Attachment

I'm using CDO SYS to send email messages. I can attach a file just fine.
However, I need to attach an HTML page that's generated on the fly by my
ASP code. The attachment source code gets assembled into a VB string. How
do I attach this? I think there was an easy way in CDONTS but that's no
longer an option.

View Replies View Related

Sending CDONTS HTML Email Issue

I have a web form where a client can select which site members to send
an email to.

This form is populated from the contents of the member table, so the
form can have 0-x names listed on it depending on member expiration dates.

When the form is submitted, the code loops through the form contents and
sends an email to those members that meet the selected criteria.

All this worked perfectly when I was sending text emails, but since I
changed, it sends the message correctly, but the last person gets
everyone else as well. For example, if I have three members (mem1, mem2
and mem3) to send emails to, here is what happens

mem1 gets the correctly formatted message

mem2 gets mem1's correctly formatted message plus mem2's message - one
right after the other. Code:

View Replies View Related

Sending (text Or Html Version) Messages Using JMail

I have that form that send email to subscribers. Even if the specified option is set to "TEXT" I still see the HTML coding in the message... Tho when I look the source of the message I see "X-Mailer: JMail 4.5 by Dimac

Content-type: text/plain; charset=iso-8859-1: and all the <br> code are that way : <br=3E

my jmail code:

View Replies View Related

ASP Page Treated As Plain HTML

I have a simple ASP page (named iisTest.asp) with these contents (I've embedded spaces in the tags for this post):

< % @ Language = "VBScript" % >
< html >
< body >
Hello
< %=World!% >
< /body >
< /html >

When I load the page into IE 6.0 it only displays "Hello". If I View Source from the browser I get all of the above, which means it's not being processed by asp.dll before getting sent to the browser (otherwise I shouldn't be seeing the ASP lines).

I asked one of my co-workers to try it and it displays "Hello World!" for him. This leads us to believe the problem may lie with IIS on my machine. (I'm using IIS 5.1.) I checked out my IIS and couldn't find anything that would cause this problem.

View Replies View Related

Sending German Text In An Email From A Webpage

I have email form on a website and there is some fields that have german
characters in it, like the umlat and so on, when I look at the email that is
retuyrned I get the following message Code:

View Replies View Related

Pulling Plain Text

The site, which is almost finished, is at

http://site234.webhost4life.com/crgmdal7/

If you click most of the links in the gold nav bar, they will take you to various places within the site. But if you select the one called "Loads", it takes you to http://www.crgm06.com/aval.txt, which I have opened into a new window. As you can see, it's a plain text file, and it is on a different domain, which I have no control over. The data in there changes all the time.

Is there a way I can import this into one of the pages I have control over, and parse it out and display it the way I want? I've never worked with importing plain text that's generated on the fly before.

View Replies View Related

HTML And TEXT Email Using ASP

Need help with sending HTML and Text email from ASP page. I want to specify both and depending on the receivers email reader the apropriate one should show. Any help or pointing to a source for MULTIPART MIME type is going to be greatly apreciated.

View Replies View Related

Multipart Mime Type For HTML/Text Email

How to send the HTML and Text email at the same time? CDONTS only send one type of email at one time and we should know before hand what type of email the client can receive. In my case i want to send both and depending on clients email reader the right one should show up. I have used ASP email component also but for this component to work properly we should have relaying enabled on our SMTP server. Due to the threats of SPAM i dont want to do this. I am not any demanding here but simply trying to find the better way.

View Replies View Related

Sending HTML Mailer With SWF

I am trying to send the following HTML mail thru the ASP CDO component.

This is the HTML mail i wanna send from Page 1:

Code:....

View Replies View Related

Sending HTML Mailer With SWF

I am trying to send the following HTML mail thru the ASP CDO component.

This is the HTML mail i wanna send from Page 1:

Code: .....

View Replies View Related

Sending Emails In Html Format

I am trying to send an email from an asp page in html format unfortunately when parenthese appear in the HTML code of the page to be emailed the ASP page reads them and trys to interpret them as ASP code

<div align="center">

any suggestions?

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

Sending Formatted HTML Newsletter

I want to build a system that sends formated HTML newsletter. Like the one we recevive from microsoft. How do we include the whole page with the pictures and style in an e-mail

I am using CDOSY

Do those developers use HTMLBody property or something else

View Replies View Related

Html Form Sending Over Blank Data

I have a form that is being sent over to an asp page. About 5% of the time, the form fields are blank when the ASP page is reading them. But when the user hit the submit button, they were not blank, because I have client-side validation that will not allow the submit to occur if any of the fields are blank. When this occurs, all the fields in the request.form object are blank?

View Replies View Related

Sending A Text Message Through The Web

I would like to send a text message through the web using the code below. Currently, I'm trying to modify this code that sends a user an e-mail with their forgotton password.

I will not be sending a password once I get this finished. This is strictly for a demonstration I have to give for a college class. Here is my code:

View Replies View Related

Sending Email

I have a few queries regarding on email. Currently my web hosting provider uses Windows 2003 Server IIS 6.0 to host my ASP websites. In my own PC, I am also currently using Win XP Profession IIS 6.0 to run my ASP files.

I would like to create a pogram that would automatically sent out an email. But the problem is I have know that CDONTS do not work for Windows 2003 Server or XP Professional. It only currently work for Win 2000 Server.

Please help and perhaps show me the code of sending an email out automatically. Is there a code that can work for all servers?

View Replies View Related

Sending An Email From Within ASP

I have a form which will be processed by being sent to an ASP page. I would
like the ASP page to take the data from the Request.QueryString (which I
know how to do) and format it so I can have it emailed to me in a nicer
format. My problem is that I do not know how to have ASP send an email. I
know how to send an email using the mailto: protocol by making it look
something like the following:

MAILTO:username@mydomain.com?SUBJECT=mysubject?MES SAGE=mymessage

However, this will usually take the user to their default email client and
ask them to send an email by putting the specified subject and message in
for them, but wait for them to do any desired editing and click their send
button. I simply want the email to be sent straight from ASP. Is this
possible?

View Replies View Related

Sending An Email

Can anyone provide me with an example how I can send an email through ASP.NET!

View Replies View Related

Sending Email

I have made a .asp file in order to send email to my Join Bytes!:

<%
Set mail = Server.CreateObject ("CDONTS.NewMail")
mail.To = "email@email.com"
mail.From = "mail@mail.com"
mail.Subject = "email subject"
mail.Body = "email body"
mail.Send
%>

The smtp function have been installed with the IIS, there is no error and the .asp seems running properly but I can't receive any email, any wrong?

View Replies View Related

Sending Email

i have to do a project regarding employee transfer in which sending email to concerned employees yet to be transferred play a pivot role.

View Replies View Related

CDO Not Sending Email

I've been using CDO to send email from my web server for a while now but
today the emails aren't being sent. They are in the queue folder on my
server. I've restarted SMTP service but that didn't work. How can I get
these sent?

View Replies View Related

Sending Email

how can send email using ASP?

View Replies View Related

ASP Email Sending

Im have made up a form that sends the information via email to an email address. Whenever I test the form though, the email does not display in HTML format. The email displays the html code but I want it to display as an html page.

View Replies View Related







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