From: mac
|
On: 2008/11/26 08:05:14
|
my boss wants me to write him an email message in HTML that he can send to some customers. any suggestions? i already rebooted and that didn't write me an email message in HTML (surprised me, but it didn't). i know how to write HTML, and i can write it in Word and export to HTML, but what about embedded images and links? anything i should think about? links to articles would be good so i can show them to him, as though i was the one who found them all by myself without any help from friends
|
|
From: stone5150
|
On: 2008/11/26 08:32:10
|
|
I have done HTML messages with scripts, but I dunno if you can do it like that. I have always had problems imbedding images properly though.
|
|
From: stone5150
|
On: 2008/11/26 08:32:51
|
|
Did you try fdisk and format, or MTYPO yet?
|
|
From: syscokid
|
On: 2008/11/26 10:09:42
|
|
I got a FrontPage 98 disk I can send you.
|
|
From: PaulHews
|
On: 2008/11/26 10:32:47
|
|
http://www.anandgraves.com/html-email-guide
|
|
From: JOK
|
On: 2008/11/26 15:45:05
|
|
Thunderbird can do it. Can't Outlook?
|
|
From: mac
|
On: 2008/12/02 12:17:03
|
|
thanks Paul.
|
|
From: mac
|
On: 2008/12/02 13:19:39
|
hmmm, i'm missing something. i read the manual, and got a lot of formatting and design advise, but when i put some HTML code into an Outlook email (set to send as HTML), it just goes over as the text. i even opened an email i received from a vendor (that looks really nice because it's HTML, and it comes over that way), i right-clicked it and clicked "View Source", and copied that code into an email, and it still comes over as text. there's some switch or setting that i'm missing. what is it about a message that the client application (Outlook in this case) knows to send it as HTML? i mean besides Tools/Options/Mail Format/Message Format = HTML?
|
|
From: PaulHews
|
On: 2008/12/02 15:01:25
|
|
Don't use Outlook... See in that page "Software for sending HTML email" or just use Thunderbird.
|
|
From: shekerra
|
On: 2008/12/03 19:10:27
|
>i can write it in Word and export to HTML
Yech - don't ever write your html in WORD - yech - you'll skew up the internet!
|
|
From: shekerra
|
On: 2008/12/03 19:17:07
|
Check the outlook plugins and addons check the internet format in the mail options for Outlook check the other tab > advanced options for com addins/plugins etc
|
|
From: JOK
|
On: 2008/12/03 19:33:30
|
|
from the command prompt type fdisk
|
|
From: mac
|
On: 2008/12/04 00:29:13
|
:) thanks Bev, i sure wouldn't want to skew up the internet! hmmm, >>"fdisk is not recognized as an internal or external command, operable program or batch file"<< i must be doing something wrong. i tried shooting the 'puter, but this gun won't fire. wait - let me just look down the barrel here as i pull the trigger.....
|
|
From: stone5150
|
On: 2008/12/04 09:49:43
|
|
Don't do that! Make sure the safety is off before testing it like that.
|
|
From: mac
|
On: 2008/12/04 11:18:30
|
>>"Don't use Outlook... See in that page "Software for sending HTML email" or just use Thunderbird."<<
hmmm, it's gonna be hard to use Access Automation (my specialty) with Outlook to send emails through Thunderbird.
maybe i'll >>"Check the outlook plugins and addons check the internet format in the mail options for Outlook check the other tab > advanced options for com addins/plugins etc"<<
oh, wait. my company is still in the year 2000, as evidenced by its Microsoft Office version. propbably i'd better get back to working on why that gun won't go off... you say take OFF the safety? Ohhhh!!! got it!!!
|
|
From: PaulHews
|
On: 2008/12/04 11:39:25
|
From Access VBA, you can use this:
http://www.freevbcode.com/ShowCode.Asp?ID=109
|
|
From: PaulHews
|
On: 2008/12/04 11:43:03
|
|
Actually Outlook should be okay if you are using automation to send... You just don't want to compose the email body in Outlook.
|
|
From: mac
|
On: 2008/12/04 12:43:05
|
no, i will compose the body in Access VBA code, like this example:
*********** start code ************ strBody = "<!DOCTYPE HTML PUBLIC " & Chr(34) & "-//W3C//DTD HTML 4.0 Transitional//EN" & Chr(34) & ">" strBody = strBody & "<HTML><HEAD><TITLE>Message</TITLE>" strBody = strBody & "<BODY text=#000000 bgColor=#ffffff>" strBody = strBody & "<DIV><FONT face=Arial size=2></FONT> </DIV> <CENTER>" strBody = strBody & "<TABLE cellSpacing=0 cellPadding=0 width=600 border=0>" strBody = strBody & " <TBODY>" strBody = strBody & " <TR>" strBody = strBody & " <TD>" strBody = strBody & " <TABLE cellSpacing=0 cellPadding=0 width=" & Chr(34) & "100%" & Chr(34) & " border=0>" strBody = strBody & " <TBODY>" strBody = strBody & " <TR>" '... '... 'etcetera ...
poSendMail.Message = strBody poSendMail.Send
*********** end code ************
and i will conform to the recommendations from your awesome link.
thanks for the freevbcode link too. i'll have my hands full this weekend.
|
|
From: PaulHews
|
On: 2008/12/04 15:18:09
|
>no, i will compose the body in Access VBA code, like this example:
That should work. The MailItem object has a BodyFormat property you'll need to set for HTML and then use the HTMLBody property to set the HTML source for your mail. (It's easier to read in your HTML from a file than compose it using string concatenation in code, in case you haven't realized that already.)
|
|
From: shekerra
|
On: 2008/12/04 18:50:38
|
|
I am so confused!
|
|