Hello,

I've made an application in Access, one part of which is that the user cand send the contents of entered fields as an e-mail with the default mailing program. Everything else is fine but there are several fields that they enter (not just one mail body) and they should appear in new lines in the mail. I tried vbCrLf and vbLf but they didn't work when exporting the text to Outlook (I tried them both in function1/2/3 and mailBody, below is the one with vbCrLf in function1/2/3). Does anyone know how to do this????

Here's the code in a simplified way:
-----------
Private Declare Function ShellExecute Lib "shell32.dll" _
Alias "ShellExecuteA" (ByVal hwnd As Long, _
ByVal lpOperation As String, ByVal lpFile As String, _
ByVal lpParameters As String, ByVal lpDirectory _
As String, ByVal nShowCmd As Long) As Long

Private Const SW_SHOWNORMAL = 1

'and so on... and then:

Private Sub cmdSendUpdate_Click()
Dim parameter1 As String
Dim parameter2 As String
Dim parameter3 As String
Dim mailBody As String

txtField1.SetFocus
parameter1 = " 1. Field 1 contents: " & txtField1.Text & vbCrLf

txtField2.SetFocus
parameter2 = " 2. Field 2 contents: " & txtField2.Text & vbCrLf

txtField3.SetFocus
parameter3 = " 3. Field 3 contents: " & txtField3.Text & vbCrLf


mailBody = parameter1 + parameter2 + parameter3

Call SendMail("maaritkn@hotmail.com", "Heading - Parameter Update", _
mailBody, _
"maaritkn@hotmail.com", "maaritkn@hotmail.com")
End Sub