![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi
How can I fill a new email with content from an html file? Thanks Regards |
Ads |
#2
|
|||
|
|||
![]()
Am Sat, 14 Jan 2006 23:04:22 -0000 schrieb John:
You need to read the file´s content first. Sample: Public Function ReadFile(sPath As String) As String On Error GoTo AUSGANG Dim lFileNr As Long Dim sText As String lFileNr = FreeFile Open sPath For Binary As #lFileNr sText = Space$(LOF(lFileNr)) Get #lFileNr, , sText AUSGANG: If lFileNr Then Close #lFileNr If Err.Number Then Err.Raise &H800A0000 Or Err.Number, _ Err.Source, Err.Description, Err.HelpFile, Err.HelpContext ReadFile = sText End Function Simply add the content then to the mail´s HTMLBody property. -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook Hi How can I fill a new email with content from an html file? Thanks Regards |
#3
|
|||
|
|||
![]()
John wrote:
How can I fill a new email with content from an html file? See if this helps: http://www.slipstick.com/mail1/html.htm -- Brian Tillman |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
sending html in body of outlook xp email | Help a Novice Please | Outlook - General Queries | 3 | February 22nd 06 07:50 AM |
links in an html email | Scott O | Outlook - General Queries | 1 | February 16th 06 03:12 PM |
sending email with pictures in other than html text | Tim | Outlook - General Queries | 1 | February 9th 06 10:23 AM |
HTML email has a grey background | Chris Foster | Outlook - Installation | 0 | January 31st 06 07:11 PM |
Filling an email with html | John | Outlook - General Queries | 3 | January 16th 06 03:39 PM |