#1
  1. No Profile Picture
    Robert_J_Sherman
    Guest
    Devshed Newbie (0 - 499 posts)
    The other day I posted about a "first".

    I had encountered a situation where everything but the "subject" line was becoming part of the message body.

    After a lot of head scratching and hair pulling, I stumbled onto the solution.

    Turned out to be a very simple fix, by using the "trim()" function on the subject.

    This completely fixed the problem!

    So, if you encounter a problem like this, you might try passing your subject line through the trim() function..

    ------------------
    SnR Graphics,
    Low Cost Hosting and Web Development.
  2. #2
  3. Banned (not really)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 1999
    Location
    Brussels, Belgium
    Posts
    14,640
    Rep Power
    4476
    Sounds like something that just worked, not really a fix.

Similar Threads

  1. Uploading Files
    By vivekjain in forum ASP Programming
    Replies: 0
    Last Post: February 16th, 2004, 11:21 PM
  2. problem with my disable function...
    By bwedekin in forum HTML Programming
    Replies: 1
    Last Post: February 9th, 2004, 11:47 AM
  3. Help with script
    By akastarlight in forum Perl Programming
    Replies: 1
    Last Post: February 6th, 2004, 06:55 AM
  4. mail() function....
    By fluke_tony in forum PHP Development
    Replies: 9
    Last Post: January 29th, 2004, 06:03 PM
  5. mail() function dropping characters
    By Webbywarehouse in forum PHP Development
    Replies: 2
    Last Post: January 28th, 2004, 01:42 PM

IMN logo majestic logo threadwatch logo seochat tools logo