hello all,
i just develope an application in that i set up sendmail
application ,now i want to check from my local host
Through GAE i learned "dev.appserver.py --enable sendmail /
application" when i start my app in my local host
and in my coding i did :
def post(self):
sender_address ="[email protected]"
subject = self.request.get("subject")
content = self.request.get("comment")
name = self.request.get("user_name")
phoneno = self.request.get("phone_no")
user_email ="[email protected]"
user_email_id = self.request.get("email_id")
body=""" Here is the user details
User Email : %s
Name: %s
Phone no: %s
-----------------------
%s
""" %(user_email_id,name,phoneno,content)
mail.send_mail(sender_address,user_email,subject,body)
self.redirect("/example.html")
my app is running in linux os ,i just enable my sendmail and i check
my sending sample mail
but when i send mail through code it says error as:
"/bin/sh: sendmail: command not found
ERROR 2009-02-25 06:37:05,801 mail_stub.py] Error sending mail
using sendmail: [Errno 32] Broken pipe"
plz advice me what mistake i done
thanks
river
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" 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/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---