Is het mogelijk om vanuit access HTML mail te versturen
Ik doe het nu op deze manier
Private Sub CmdMail_Click()
Dim naar As String
Dim subject As String
Dim bericht As String
naar = Me.Emailtext
subject = Me.Subjecttext
bericht = Me.HTMLtext
DoCmd.SendObject acSendNoObject, , acFormatHTML, naar, , , subject, bericht, no
End Sub
Maar dat geeft dit als resultaat
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head>
<body>
<table width="621" height="322" border="0">
<tr>
<td width="385" valign="top">[img]"file:///C|/Documents%20and%20Settings/All%20Users/Documents/My%20Pictures/Sample%20Pictures/Blue%20hills.jpg"[/img]</td>
<td width="220" height="292" valign="top">Boodschap</td>
</tr>
<tr>
<td> </td>
<td height="26">Afschrijver</td>
</tr>
</table>
</body>
</html>
Dit zie ik dus in te mail staan maar ik zie het niet als html
Want kan ik hier aan doen
Ik hoop dat iemand me kan helpen !
Ik doe het nu op deze manier
Private Sub CmdMail_Click()
Dim naar As String
Dim subject As String
Dim bericht As String
naar = Me.Emailtext
subject = Me.Subjecttext
bericht = Me.HTMLtext
DoCmd.SendObject acSendNoObject, , acFormatHTML, naar, , , subject, bericht, no
End Sub
Maar dat geeft dit als resultaat
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head>
<body>
<table width="621" height="322" border="0">
<tr>
<td width="385" valign="top">[img]"file:///C|/Documents%20and%20Settings/All%20Users/Documents/My%20Pictures/Sample%20Pictures/Blue%20hills.jpg"[/img]</td>
<td width="220" height="292" valign="top">Boodschap</td>
</tr>
<tr>
<td> </td>
<td height="26">Afschrijver</td>
</tr>
</table>
</body>
</html>
Dit zie ik dus in te mail staan maar ik zie het niet als html
Want kan ik hier aan doen
Ik hoop dat iemand me kan helpen !