Re: Email Form with attachments

2021-07-14 Thread khokon dev
fasfas On Monday, July 5, 2021 at 3:35:30 AM UTC+6 guitard...@gmail.com wrote: > Attachments need to be written to mail headers using MIME. > > This article gives a good breakdown > https://stackoverflow.com/questions/1633109/creating-a-mime-email-template-with-images-to-send-with-p

Re: Email Form with attachments

2021-07-04 Thread David Crandell
Attachments need to be written to mail headers using MIME. This article gives a good breakdown https://stackoverflow.com/questions/1633109/creating-a-mime-email-template-with-images-to-send-with-python-django On Sunday, July 4, 2021 at 10:30:10 AM UTC-5 sebasti...@gmail.com wrote: > He

Email Form with attachments

2021-07-04 Thread sebasti...@gmail.com
Hello, i need a form where i have normal email fields like: to_address, from_address, subject, message and also i drag and drop zone where i can drop attachments. I have allready implement a normal drag and drop zone in another form where i can drag and drop files and it is upload und stored

Class-Based_views | DetailView | send_email with attachments

2021-02-16 Thread Sachin KODAD
Hello Django Users, I need help with one of my views in Django DetailView. I want to send_mail from my HTML form (post method). Requrirement: 1. HTML Form (method=post) 2. Django DetailView (send_mail with attachments) *** I have already set up my send_mail and email config in setting.py

Download attachments plain text encoding 'ANSI'

2020-07-16 Thread Marchi
Hi, I hope the encoding type of the download plintext file is ANSI, not UTF-8. View.py ... with open(file_path + filename, 'r', encoding='cp949') as fd: # This plain text file from inside the server is an ANSI (cp949) encoded file. response = HttpResponse(fd) response['Content-Type

Re: Email attachments in Django1.10 failing

2017-02-02 Thread Tim Graham
Could you include a complete traceback that shows which line is causing the error? On Wednesday, February 1, 2017 at 8:10:53 PM UTC-5, E kamande wrote: > > Hi Kindly need help to be able attaching a logo and a pdf when emailing, I > have been following this great articles 1 >

Email attachments in Django1.10 failing

2017-02-01 Thread E kamande
Hi Kindly need help to be able attaching a logo and a pdf when emailing, I have been following this great articles 1 and 2

attachments

2017-01-03 Thread Aref
I have downloaded the django-attachments app from GitHub. I followed the instructions for installation and usage but can't seem to make things work. Has anyone used this app and if so could you provide some example / snippets as how to get the app to work with another app in the project.

Re: Rich email with attachments

2010-10-15 Thread Sheena
Thanks for the help, don't have it sorted yet but I'm well on my way -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+

Re: Rich email with attachments

2010-10-14 Thread Alec Shaner
On Thu, Oct 14, 2010 at 3:45 AM, Sheena wrote: > I also want to have the option to add any attachment. So I want to > have a button that when pressed allows the user to pick a file on > their hdd and have it uploaded immediately, without loosing anything > that's already filled in on the email for

Re: Rich email with attachments

2010-10-14 Thread Roberto Benitez
I don't know tinyMCE in detail. What I know is to send emails with media and style you need to include all css inside the email template and, instead of making relative reference to media urls, you have to use the whole absolute url. My 2 cents. Roberto On Thu, Oct 14, 2010 at 7:35 AM, Jonathan B

Re: Rich email with attachments

2010-10-14 Thread Jonathan Barratt
On 14 ต.ค. 2010, at 14:45, Sheena wrote: > Hi all > > I'm making a site in which users have access to a rich text editor > implemented with tinyMCE. What I want to do with the result is turn it > into an email and send it off. > > I want to include a non-standard button and I was wondering if an

Rich email with attachments

2010-10-14 Thread Sheena
Hi all I'm making a site in which users have access to a rich text editor implemented with tinyMCE. What I want to do with the result is turn it into an email and send it off. I want to include a non-standard button and I was wondering if anyone can let me know how this can be achieved. The butto

django-attachments

2010-06-10 Thread Venkatraman S
Has anyone used django-attachments? I would specifically like to know as to how i can enforce the rule that there is only ONE attachment with A model - i mean, say i have a user object, then i can upload only ONE attachment for this record. -V -- You received this message because you are

attachments vs filebrowser

2009-12-18 Thread Todd Blanchard
I need users to attach arbitrary media files to database records. Attachments seems to do what I need, except that its UI is utterly lame - it should figure out the media type of the file from the extension and display an appropriate thumbnail as well as a way to provide a viewer inline. Also

Adding Django-Attachments to JaikuEngine

2009-09-20 Thread MateComp
Hi Everyone, We need to know is there any way to add the "attach" option to a project as JaikuEngine that uses Django. If it is possible, we need to know how to do that, where to place de django-attachments folders, files, etc... Thank you for your

email attachments

2009-04-08 Thread bradcater
I'm using EmailMessage to send emails upon certain User actions, and I'm getting weird behavior with attachments. Specifically, I'm seeing emails with multiple attachments when there should be no attachments. email = EmailMessage(self.__subject, self.__body, sen

Re: Sending attachments with django-contact-form

2009-03-20 Thread Dana
Your the man john, that worked with basically no modification, thanks a ton! On Mar 16, 8:27 pm, John Hensley wrote: > On Mar 16, 2009, at 3:46 PM, Dana wrote: > > > > > I am wondering what the simplest way to send an attachment with   > > django- > > contact-form (http://code.google.com/p/djang

Re: Sending attachments with django-contact-form

2009-03-16 Thread John Hensley
On Mar 16, 2009, at 3:46 PM, Dana wrote: > I am wondering what the simplest way to send an attachment with > django- > contact-form (http://code.google.com/p/django-contact-form/) is. [...] > Im interested in just a simple example of sending a file along with > the other email information. I ha

Sending attachments with django-contact-form

2009-03-16 Thread Dana
Hello, I am wondering what the simplest way to send an attachment with django- contact-form (http://code.google.com/p/django-contact-form/) is. I don't have much experience with sending emails with Python, so Im a bit lost. I tried overriding the save method but couldn't get it functioning. Im i

Re: Attachments in Django

2008-06-26 Thread bruno desthuilliers
On 26 juin, 19:45, "Greg Lindstrom" <[EMAIL PROTECTED]> wrote: (snip) > My question deals with handling attachments to the announcements. (snip) > I would like to set things up so we can have downloads (pdf, > Word, etc.) (snip) associated with the announcement. (snip)

Attachments in Django

2008-06-26 Thread Greg Lindstrom
o work out fine. Now to get hosting and, hopefully, have it up in a couple of weeks (not bad, seeing as I started learning it at PyCon this year). My question deals with handling attachments to the announcements. I have it set up so all announcements are displayed on the home page and then each prog

Problem with EmailMultiAlternatives and attachments

2008-03-03 Thread Francis
), attachments=((request.session['customer']+".txt.blowfish", request.session["customer"].content),)) msg.attach_alternative(html_content, "text/html") msg.send() I use the latest svn revision I also tried using msg.attact() instead of attachments, same result! T

Retrieving attachments in Django Admin interface

2007-01-19 Thread o.drew
I'm writing an app, and I need to do the following: Once I've added an attachment, I need to be able to view it directly from the Django Admin interface (note: there's no public interface to this app). As I'm in development, I'm only using the Django dev. server at the moment, and I'm developin