• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 244
  • Last Modified:

memo.Body = NewLine?

I am trying to create a message in my body of my email

        line1  = "Job Number: " & OrderNo
      line2 = "Requester Name: " & sendto
      line3 = "Your job has been completed by the model shop."
      line4 = "If you have any questions please contact us"
      memo2.Form = "memo"
      memo2.Subject = "Your Model Shop request has been completed."
      memo2.Body = line1 + line2 + line3 + line4
      memo2.SendTo = sendto
      Call memo2.Send(False)

I have no idea how to put in newlines
1 Solution
For plain text email, just use Chr(10).

    For example:

    line1  = "Job Number: " & OrderNo & Chr(10)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now