Author Topic: Sending email to list - subject and content stripped  (Read 2599 times)

vrinfo

  • Posts: 14
    • View Profile
Sending email to list - subject and content stripped
« on: January 15, 2008, 02:01:26 pm »
Whilst the email sent clearly has a subject and content when entered, the processmsg routine strips them from the outgoing message, which is then delivered correctly addressed but without the payload.

What should I check.

As before I am running tests on Windows 2003, with mysql 5.0.37

Thanks in anticipation

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Sending email to list - subject and content stripped
« Reply #1 on: January 15, 2008, 06:54:20 pm »
Could you be sending HTML email without a text version?  A text copy is required for email clients who don't support HTML or have it disabled.  To avoid having to create two copies of your message you could use a message code of the type "Link to HTML" as your text message.

Please let me know if this is not the cause of what you are experiencing.

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

vrinfo

  • Posts: 14
    • View Profile
Content & message stripping - issue found
« Reply #2 on: January 16, 2008, 10:01:19 am »
The problem is exhibited if you define users as HTML + TEXT and then simply send these users a text message ( without defining any HTML ).

I would have expected the code to assume if HTML option was absent that the text message should be sent properly. However the processmsg routine doesn't seem to put the subject and message into its $outarr. I have fixed it by changing the user definitions - but this feels like a workaround rather than the proper behaviour.

After all isn't it reasonable to sometimes want simply to send a text message to users who could receive HTML messages ?

Comments ?

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Sending email to list - subject and content stripped
« Reply #3 on: January 17, 2008, 04:49:10 pm »
Yes, of course.  All users default to HTML+Text and many of my clients send text-only email.

Could your global message codes have disappeared?  There is a rare bug that seems to make this happen. (I think it's when lists are deleted a certain way) When there are no codes to be processed for a message it comes out blank, so you should have at least one Global Code at all times...

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting