+ Reply to Thread
Results 1 to 5 of 5

Thread: Output format

  1. #1
    Join Date
    Jan 2004
    Posts
    2

    Default

    First off thanks for a great piece of code, its exactly what I needed!

    Now I am new to PHP but so far I have been able to get formmail up and running on WinXP pro using Abyss webserver and emailing me the output information from the form.

    My problem\question is how can I change the output type and format ? Currently all of the data is emailed as an .att file - which I have to manually open with notepad, and all of the data Im getting back is all crammed together, making it rather difficult to read\understand etc...Is there a way I can have the page output as a .txt file and then display the data as a list insstead of it all running together?

    Thanks in advance for your help - and thanks for a great piece of code!

    Beamin1

  2. #2
    Join Date
    Dec 2003
    Posts
    3,900

    Default

    Hi Beamin1,

    Welcome to the FormMail forums! Thanks for your kind comments.

    I have no idea why you'd be seeing the FormMail output as a ".att" file.* I think it might actually be your mail client (i.e. mail reader) that's doing this.* However, we've tested FormMail sending to a Microsoft Outlook Express email client and it works fine.

    FormMail constructs a very simple text mail.

    As a check, please configure your FormMail to send to custsupp AT tectite DOT com and then submit a form with some test data.* I can then look at the actual output to see why you're getting this behaviour.

    As for the data being all jammed together, this is because the message has been turned into a ".att" file and the message contains mail-style lines (no carriage returns, just line feeds).* Windows NotePad doesn't understand these types of lines - try opening it in WordPad.

    Once we get your mail server or mail client to process the mail correctly, this problem will go away.

  3. #3
    Join Date
    Jan 2004
    Posts
    2

    Default

    ok added you and sent an email - I am using outlook express as email client, Also I would like to know if its possible to have the script only send information for the fields that have have data and not the ones that have no info.

    The email is from rmayhew@xx.xx.com

    Thanks again for your support!

    Beamin1

  4. #4
    Join Date
    Dec 2003
    Posts
    3,900

    Default

    Hi Beamin1,

    Got the email.

    It looks like your web server processes PHP mail calls in this unusual way.

    I don't think there's much we can do to solve the attachment problem for you.

    If we had access to an Abyss web server on Windows we might be able to diagnose the problem, but there still might not be anything we can do.

    We can modify FormMail so that the lines in the attachment can be read by Notepad, but that's probably the minor issue for you.

    *

  5. #5
    Join Date
    Dec 2003
    Posts
    3,900

    Default

    Hi Beamin1,

    We've just released a new version of FormMail (1.20) which has a new configuration option.

    If you set BODY_LF to CR+LF (see the comments in formmail.php) then I think your attachment file will be readable by notepad.

    Please let me know how you go with this if you try it.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Any update on html user output of selections?
    By jptechnical in forum FormMail Subscription Support
    Replies: 3
    Last Post: 31-Aug-2004, 05:20 AM
  2. CSV Output
    By eu4ic in forum FormMail Subscription Support
    Replies: 14
    Last Post: 13-May-2004, 09:51 PM
  3. Submitted form output onto HTML page?
    By LKimber in forum FormMail Subscription Support
    Replies: 2
    Last Post: 13-Apr-2004, 11:39 AM
  4. html output?
    By Ibis in forum FormMail Subscription Support
    Replies: 1
    Last Post: 28-Feb-2004, 09:08 AM
  5. output form into a webpage
    By redsnow in forum FormMail Subscription Support
    Replies: 3
    Last Post: 10-Feb-2004, 12:34 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts