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
ADVERTISEMENT
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
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
View Related
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
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
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
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
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
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
i want to read an HTML page in ASP n i m not able to do so.
View Replies
View Related
My application requires reading data(html) from an iframe and push into a div tag. 'innerHTML' property of the div tag allows to push data into it. Can anybody tell me how to read data(html) from an iframe.
View Replies
View Related
I have created a session in asp .net and transfer to an HTML page.
I want to grant access to that html page depending on the content
of that session object. Is there any way I can read that object using javascript
in an html page?
View Replies
View Related
My xml file format is below:
<content> node have HTML format data i read xml file i got values but not in html format i also post asp code for reading xml file Code:
View Replies
View Related
Is it possible to do the following in asp: To read an html page from a server (not mine) every 5 minutes and copy it to my server. The html page just contains a list of numbers.
View Replies
View Related
I'm write an asp to include part of a text file into my asp output html, I use FileSystemObject to get the content of the text file, but the asp just hang when it runs, the source code is listed below if anyone could help: Code:
View Replies
View Related
I want to read textfiles with ASP. But I want to do this in a special way.
I want to set a variable, for each line.
So for example:
Dim line1, line2, line3, line4, line5
line1 = Line 1 of the text file
line2 = Line 2 of the text file
line3 = Line 3 of the text file
line4 = Line 4 of the text file
line5 = Line 5 of the text file
How do I have to do this? .....
View Replies
View Related
Is there anyway I can read a text document (Notepad) with ASP? I have a small database of emails in a text document, which I want to use for a newsletter. By using ASPMail I can make this an easy task for me to do weekly.
View Replies
View Related
Is there a way to read email messages with ASP without installing components?
And will it work with any email server, or just windows IIS?
Something that will work almost like Webmail. But I just need to read the From, Subject and Body of the email.
View Replies
View Related
Can I use FileSystemObjects to Read Text Files on my server rather than just on my local drive?
View Replies
View Related
I tried to read a text file from my local com, but it keep on loading and loading, after tat, i'll need to restart my IIS... im sure tat the directory of the txt file is correct... The code is running very well in another com, is there any kind of permission/ something i missed?
View Replies
View Related
I would like to allow my customers to upload their log files so that I can analyze them. Using ASP, I've found ways to:
1) upload files using the standard form elements and save it to my server using:
Code:
<input type= file>
2) from the file on my server, i can parse the text file and return results to the user
However, I would prefer not saving hundreds of random text files on my server. Is there a way that I can see the contents of the uploaded text file using ASP without saving it to the server? Is there something using the filesystemobject that allows me to do this?
View Replies
View Related
I have a database that was originally in Excel. After modifying it, I have saved it with .txt and another one with .csv format. DB.txt (Text (Tabl delimited)(*.txt)
DB.csv (Text Comma Separated Value) (*.csv). What is the command/statement in oppening database record for these formats?
View Replies
View Related
Anyone know the best way of Read tab delimited text file, its old but I have to use it, I only know how to read csv.
View Replies
View Related
I am trying to create an ASP page that processes a large block of text that is posted to the page. The data block is approximately 500K. The only was I can figure to get the posted text into a string is using BinaryToString. Is there another way to just get the body of text that is posted?
View Replies
View Related
I am working on a safetywear deduction system and i need to perform the following functions: write to a text file and read from a test file and wrute to a table in the database. I need code to write and read to a text file in asp please.
View Replies
View Related
i am using cdonts to send email , i want to know whether the the receiver read the email or not
View Replies
View Related
I was wondering if it is possible to read an email inbox using any sort of ASP. I know you cannot do it with CDONTS.I cannot post a further reply so I thank you for the good suggestion. I am traing to use it but I have found few problems.I ca read the number of email with Mailer.MessageCount (e.g.=5)but I cannot read the content. The instructions:
Mailer.Retrieve(iloop) <where Iloop goes from 1 to Mailer.MessageCount>
Response.Write Mailer.Subject
Do not produce any result.
View Replies
View Related
I have developed an email marketing system for a specific product...
The system sends out emails to opt-in 'clients' and tracks their interest in the product...
currently, it only tracks when users click on the link from the email they receive - easy...
How do I check if the email was viewed? I know this can be done through an image - and tracking that image's download..
View Replies
View Related
how do u check if users read email and Forcing Email Read-Receipts? where can i find sample code.
View Replies
View Related
I have a log file from my email software program. Each entry is on a line and the values are seperated by tabs. How can I read through this text file such that I insert its contents into a database? Thanks. Tom
Here is one entry from that file:
11/30/06 00:00:21SMTP-IN25AA24076F2041D7B35E97EE7748D06C.MAI65284.244.91.208EHLOEHLO [84.244.91.208]250-home [84.244.91.208], this server offers 4 extensions11922
View Replies
View Related
I'm trying to include a plain html file in my asp page, but don't know how to include since SSI is deactivated(?)
View Replies
View Related
I have text that a user enters via a form.This text is saved to a database named SText. The actual text is under the record "text". Now, I want to write the code to see if they enter in a link like http://www.blabla.com it will convert it to a hyper link to that very address.
View Replies
View Related
How can i make a text box not reconize a html tags.
View Replies
View Related