PxPlus User Forum

Twitter Twitter Twitter

Author Topic: text/html encoding is coming thru as attachment  (Read 1692 times)

Jeffrey Ferreira

  • Diamond Member
  • *****
  • Posts: 175
  • I must have taken a wrong turn at Albuquerque.
    • View Profile
text/html encoding is coming thru as attachment
« on: July 13, 2018, 11:46:00 AM »
I use the *web\email encoding all the time.
I'm working on a client using pxplus 10.2
and when i do a text/html encoding and i create the body of email as standard html it keeps coming thru as an attchment

it happens when i send to my gmail and outlook.
does anyone have any ideas?

thanks

jeff

Jeffrey Ferreira

  • Diamond Member
  • *****
  • Posts: 175
  • I must have taken a wrong turn at Albuquerque.
    • View Profile
Re: text/html encoding is coming thru as attachment
« Reply #1 on: July 13, 2018, 12:59:09 PM »
I made a mistake in my encoding variable please ignore.

Devon Austen

  • Administrator
  • Diamond Member
  • *****
  • Posts: 382
  • Don’t Panic
    • View Profile
    • PVX Plus Technologies
Re: text/html encoding is coming thru as attachment
« Reply #2 on: July 13, 2018, 01:03:54 PM »
There should be no reason for HTML to go through as an attachment. Is it possible your call to *web/email has some of the arguments mixed up or not set correctly?

the 7th argument is message$ and should be something like "<html><head><title>..</html>"

The 8th argument is attachment$ and should be ""

The 13th argument is bodyencoding$ and should be "text/html"
Principal Software Engineer for PVX Plus Technologies LTD.