+ Post New Thread
Results 1 to 8 of 8
Coding Thread, Form submission as email Attachment in Coding and Web Development; Hi All, I have a working form which submits to email and i am just wondering if when the user ...
  1. #1

    Join Date
    Sep 2013
    Location
    Worcestershire
    Posts
    104
    Thank Post
    2
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Talking Form submission as email Attachment

    Hi All,
    I have a working form which submits to email and i am just wondering if when the user submits the form it can be put through as an attachment on the email. Like a word document with the form submission in there?

    Just a thought and thought i may as well as the question

    Thanks in Advanced !

  2. #2

    Join Date
    Sep 2013
    Location
    Worcestershire
    Posts
    104
    Thank Post
    2
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Any Help With this?

  3. #3

    Join Date
    Feb 2014
    Posts
    16
    Thank Post
    0
    Thanked 6 Times in 5 Posts
    Rep Power
    3
    Which platform are you working ? If it's IIS / C# might be able to help

  4. #4

    Join Date
    Sep 2013
    Location
    Worcestershire
    Posts
    104
    Thank Post
    2
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    i am running SQL and Apache on a Ubuntu server :/

  5. #5

    Join Date
    Feb 2014
    Posts
    16
    Thank Post
    0
    Thanked 6 Times in 5 Posts
    Rep Power
    3
    OK, can't help I'm afraid...

  6. #6

    LosOjos's Avatar
    Join Date
    Dec 2009
    Location
    West Midlands
    Posts
    5,771
    Thank Post
    1,511
    Thanked 1,294 Times in 884 Posts
    Rep Power
    813
    Quote Originally Posted by lholland421 View Post
    i am running SQL and Apache on a Ubuntu server :/
    Is the form submission handled via PHP then?

  7. #7

    Join Date
    Sep 2013
    Location
    Worcestershire
    Posts
    104
    Thank Post
    2
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    It is indeed

  8. #8

    LosOjos's Avatar
    Join Date
    Dec 2009
    Location
    West Midlands
    Posts
    5,771
    Thank Post
    1,511
    Thanked 1,294 Times in 884 Posts
    Rep Power
    813
    Have a look at this: PHP: Sending Email (Text/HTML/Attachments)

    and this: PHP: fwrite - Manual

    The idea being that you write the contents to a temporary .txt file (Word will be more difficult as you'll need to know how to create the file headers and write the text out in the correct format; it doesn't seem like there'd be any benefit to Word over basic txt here though...), attach it to the email using the above as a guide for that, then delete the temporary file.



SHARE:
+ Post New Thread

Similar Threads

  1. Saving email attachments
    By leco in forum Windows 7
    Replies: 2
    Last Post: 12th December 2009, 03:25 PM
  2. Yahoo Email - Attachments won't open
    By mullet_man in forum Windows
    Replies: 5
    Last Post: 26th November 2009, 04:13 PM
  3. Emailing attachments to a shared drive
    By WithoutMotive in forum How do you do....it?
    Replies: 2
    Last Post: 24th September 2009, 10:19 AM
  4. Blocking Email Attachments via Extension
    By Geoff in forum Internet Related/Filtering/Firewall
    Replies: 9
    Last Post: 20th September 2009, 09:01 PM

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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