Results 1 to 3 of 3

Thread: Attachment

  1. #1
    User
    Join Date
    05-25-10.
    Location
    Rotterdam, The Netherlands
    Posts
    39

    Default Attachment

    Hi All,

    How can I send the attachment someone add to the form (with <input type="file">) in the confirmation email to that visitor.

    When i Use {{form:file}} it only show's the name of the submitted file.

    I look forward to receiving your reply.

    Regards,
    Paul Kegel
    --
    Regards, Paul Kegel
    Online designer at Artified | Follow me on twitter

  2. #2
    New user
    Join Date
    11-07-12.
    Posts
    4

    Default

    Too late maybe, but as i was looking for that, it can help other people.
    So solution is :

    {{form::FIELD?attachment=true}}

  3. #3
    User Andreas's Avatar
    Join Date
    07-11-09.
    Location
    Mönchengladbach
    Posts
    499

    Default

    Here my template that even works with "skip empty".
    Code:
    <<<<<<<<<<<<<<<< Admin EN <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
    
    New contact mail from {{form::name}} dated {{date}}.
    
    Transmitted data:
    --------------------------------------------------------------------
    {{form::name?label=
    Name: }}{{form::country?label=
    Country, Place: }}{{form::email?label=
    E-Mail: }}{{form::website?label=
    Website: }}{{form::file?label=
    Attached File: }}{{form::message?label=
    
    Message:
    
    }}
    
    --------------------------------------------------------------------
    
    {{env::url}}
    {{form::file?attachment=true}}
    
    
    
    
    
    <<<<<<<<<<<<<<<< Confirm EN <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
    
    Hello {{form::name}},
    
    we have received your message dated {{date}}.
    
    We will contact you as soon as possible.
    
    Please be patient, kind regards,
    
    your 
    
    {{env::url}}
    
    Transmitted data:
    --------------------------------------------------------------------
    {{form::name?label=
    Your name: }}{{form::country?label=
    Country, Place: }}{{form::email?label=
    E-Mail: }}{{form::website?label=
    Website: }}{{form::file?label=
    Attached File: }}{{form::message?label=
    
    Your message:
    
    }}
    
    --------------------------------------------------------------------
    
    Please do not respond to this mail.
    {{form::file?attachment=true}}
    Web-Development, Freelancer, Burgtech, XHTML, HTML5, CSS, PHP, Javascript, MooTools, MySQL and more
    Amazon wishlist

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
  •