Announcement

Collapse
No announcement yet.

Set email importance flag

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Set email importance flag

    would anyone be able to provide direction as to how to set the email importance? If possible, could you provide guidance as to how to modify the following code?



    thanks

  • #2
    Goes in the email header fields

    You set the priority as header fields in the email (same as Date:, Content-Type: etc)

    There are a few possibilities depending on the email client. For example Outlook seems to send:

    X-Priority: 1 (Highest)
    X-MSMail-Priority: High
    Importance: High


    X-Priority has a scale of 1 (Highest) to 5 (Low) with 3 (Normal). You only need the number, but adding the brackets and text shouldn't affect how the header is read by the client.

    In the code you would add

    Tcp Print nTCP, "X-Priority: 1 (Highest)"

    after

    Tcp Print nTCP, "MIME-Version: 1.0"

    Mike

    Comment


    • #3
      much appreciated!

      thanks, Dean

      Comment

      Working...
      X