In the view, you need
from django.core import mail, validators
then something like
def save(self, message, from, to):
mail.send_mail("Email title, whatever that is",
message,
from,
[to],
fail_silently = False
)
The real key is mail.send_mail. Note that message needs to be the
message, whatever that is. Both message and from may be variables you
pass in. The 'To' field MUST be a list, even if it's only one person.
The above is just pseudo-code, and probably won't work, but like I
said, mail.send_mail is the key.
On Jan 31, 11:24 am, "ChelleBell" <[EMAIL PROTECTED]> wrote:
> I have made a form, that is up and running partially. What I am
> looking to do is this form will be a sign up for a camp, but what i
> was wondering is if there is a way that the form can be e-mailed to
> someone after a person has filled it out. I cannot find anywhere on
> the django site that tells me how to go about doing this. I don't
> really know a whole lot about django so if there is any possible way
> to explain it to someone who has no prior experience using django that
> would be a GREAT help! Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---