The following is a sample of a code I use to generate and send a email, it places the text into the body of the email itself as opposed to just an attachment. Now this all works fine but am now looking to jazz the email up by adding some formatting to the text i.e font, size, colour, boldness. Now I'm not suere of this is possible and if so how to do this by code as such I would be greatful if any can provide some advise on this and if possible even change my code as an example.
Many thanks
Kunal
Function testmail()
Dim emailtxt As String, db As Database
Set db = CurrentDb()
emailtxt = emailtxt & "Hi" & Chr(13) & Chr(13)
emailtxt = emailtxt & "This is a test email." & Chr(13) & Chr(13)
emailtxt = emailtxt & "Regards," & Chr(13)
emailtxt = emailtxt & "Kunal" & Chr(13)
DoCmd.SendObject , "", "", "joe@joebloggs.com ", "", "", "Test Email ", emailtxt, False, """"""
End Function
Many thanks
Kunal
Function testmail()
Dim emailtxt As String, db As Database
Set db = CurrentDb()
emailtxt = emailtxt & "Hi" & Chr(13) & Chr(13)
emailtxt = emailtxt & "This is a test email." & Chr(13) & Chr(13)
emailtxt = emailtxt & "Regards," & Chr(13)
emailtxt = emailtxt & "Kunal" & Chr(13)
DoCmd.SendObject , "", "", "joe@joebloggs.com ", "", "", "Test Email ", emailtxt, False, """"""
End Function