[google-appengine] Re: Getting copies of all sent mail

2009-06-24 Thread anjs

Does anybody has any idea on this?

On Jun 23, 6:06 pm, anjs jnanj...@gmail.com wrote:
 Is it a limitation from google that it sends the email to sender in
 all cases?

 Although the google doc says it sends email to sender only in case of
 error and
 bouunce messages,

 http://code.google.com/appengine/docs/python/mail/overview.html

 but the above thread discussion mentions that it is intended behavior
 and email will be
 sent in all cases.

 Can anybody please confirm. We dont want the sender to be received
 emails. Is this possible?

 thanks

 On Jun 7 2008, 5:05 am, Brian Hartvigsen tre...@gmail.com wrote:

  Sorry apparently I'm majorly dense today ;-)  I swear I read that.
  Looks like I'll be setting up a filter in Gmail.

  -- Brian

  On Jun 6, 4:07 pm, Daniel O'Brien d...@google.com wrote:

   Hi Brian,

   This is the intended behavior, and discussed in the Mail API 
   Overview:http://code.google.com/appengine/docs/mail/overview.html

   Daniel

   On Jun 6, 10:20 am, Brian Hartvigsen tre...@gmail.com wrote:

So I'm sending out a validation link to users when they submit an new
email address to my app.  However everytime an email is sent I'm
   gettinga copy in my email as well.  This happens even if the address
is valid and the message was properly delivered,

The headers of the message sent to the valid email and them message I
receive are almost identical, but not quite..

Original Message, properly delivered:

Delivered-To: brian.and...@brianandjenny.com
Received: by 10.90.35.15 with SMTP id i15cs27574agi;
        Thu, 5 Jun 2008 17:24:28 -0700 (PDT)
Received: by 10.100.154.19 with SMTP id b19mr3584989ane.
115.1212711867929;
        Thu, 05 Jun 2008 17:24:27 -0700 (PDT)
Return-Path:
3u4nisayjdm8eczd8317v36.x97wc3v8.v8yczhwc3v8v8y4z88j@apphosting.bounces.google.com
Received: from an-out-0910.google.com (an-out-0910.google.com
[209.85.132.190])
        by mx.google.com with ESMTP id d19si8287797and.
17.2008.06.05.17.24.27;
        Thu, 05 Jun 2008 17:24:27 -0700 (PDT)
Received-SPF: pass (google.com: domain of
3u4nisayjdm8eczd8317v36.x97wc3v8.v8yczhwc3v8v8y4z88j@apphosting.bounces.google.com
designates 209.85.132.190 as permitted sender) client-
ip=209.85.132.190;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of
3u4nisayjdm8eczd8317v36.x97wc3v8.v8yczhwc3v8v8y4z88j@apphosting.bounces.google.com
designates 209.85.132.190 as permitted sender)
smtp.mail=3u4nisayjdm8eczd8317v36.x97wc3v8.v8yczhwc3v8v8y4z88j@apphosting.bounces.google.com
Received: by an-out-0910.google.com with SMTP id c35so4004851ana.3
        for brian.and...@brianandjenny.com; Thu, 05 Jun 2008
17:24:27 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.90.79.12 with SMTP id c12mr1313031agb.
29.1212711867576; Thu,
        05 Jun 2008 17:24:27 -0700 (PDT)
Message-ID: 0016361e886814f06e044ef47...@google.com
Date: Thu, 05 Jun 2008 17:24:27 -0700
Subject: Confirm email address
From: tre...@gmail.com
To: brian.and...@brianandjenny.com
Content-Type: text/plain; charset=ISO-8859-1; Format=Flowed
Content-Transfer-Encoding: 7bit

Copy received at developer account:

Delivered-To: tre...@gmail.com
Received: by 10.151.10.15 with SMTP id n15cs34681ybi;
        Thu, 5 Jun 2008 17:24:27 -0700 (PDT)
Received: by 10.90.93.13 with SMTP id q13mr2366598agb.
78.1212711867663;
        Thu, 05 Jun 2008 17:24:27 -0700 (PDT)
Return-Path:
3u4nisayjbs8eczd8317v36.x97eczd8317v36@apphosting.bounces.google.com
Received: from an-out-0910.google.com (an-out-0910.google.com
[209.85.132.184])
        by mx.google.com with ESMTP id 36si4223174aga.
18.2008.06.05.17.24.27;
        Thu, 05 Jun 2008 17:24:27 -0700 (PDT)
Received-SPF: pass (google.com: domain of
3u4nisayjbs8eczd8317v36.x97eczd8317v36@apphosting.bounces.google.com
designates 209.85.132.184 as permitted sender) client-
ip=209.85.132.184;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of
3u4nisayjbs8eczd8317v36.x97eczd8317v36@apphosting.bounces.google.com
designates 209.85.132.184 as permitted sender)
smtp.mail=3u4nisayjbs8eczd8317v36.x97eczd8317v36@apphosting.bounces.google.com
Received: by an-out-0910.google.com with SMTP id c25so3855286anc.6
        for tre...@gmail.com; Thu, 05 Jun 2008 17:24:27 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.90.79.12 with SMTP id c12mr1313031agb.
29.1212711867576; Thu,
        05 Jun 2008 17:24:27 -0700 (PDT)
Message-ID: 0016361e886814f06e044ef47...@google.com
Date: Thu, 05 Jun 2008 17:24:27 -0700
Subject: Confirm email address
From: tre...@gmail.com
To: brian.and...@brianandjenny.com
Content-Type: text/plain; charset=ISO-8859-1; Format=Flowed
Content-Transfer-Encoding: 7bit

The sending code

[google-appengine] Re: Getting copies of all sent mail

2009-06-23 Thread anjs

Is it a limitation from google that it sends the email to sender in
all cases?

Although the google doc says it sends email to sender only in case of
error and
bouunce messages,

http://code.google.com/appengine/docs/python/mail/overview.html

but the above thread discussion mentions that it is intended behavior
and email will be
sent in all cases.

Can anybody please confirm. We dont want the sender to be received
emails. Is this possible?

thanks

On Jun 7 2008, 5:05 am, Brian Hartvigsen tre...@gmail.com wrote:
 Sorry apparently I'm majorly dense today ;-)  I swear I read that.
 Looks like I'll be setting up a filter in Gmail.

 -- Brian

 On Jun 6, 4:07 pm, Daniel O'Brien d...@google.com wrote:



  Hi Brian,

  This is the intended behavior, and discussed in the Mail API 
  Overview:http://code.google.com/appengine/docs/mail/overview.html

  Daniel

  On Jun 6, 10:20 am, Brian Hartvigsen tre...@gmail.com wrote:

   So I'm sending out a validation link to users when they submit an new
   email address to my app.  However everytime an email is sent I'm
  gettinga copy in my email as well.  This happens even if the address
   is valid and the message was properly delivered,

   The headers of the message sent to the valid email and them message I
   receive are almost identical, but not quite..

   Original Message, properly delivered:

   Delivered-To: brian.and...@brianandjenny.com
   Received: by 10.90.35.15 with SMTP id i15cs27574agi;
           Thu, 5 Jun 2008 17:24:28 -0700 (PDT)
   Received: by 10.100.154.19 with SMTP id b19mr3584989ane.
   115.1212711867929;
           Thu, 05 Jun 2008 17:24:27 -0700 (PDT)
   Return-Path:
   3u4nisayjdm8eczd8317v36.x97wc3v8.v8yczhwc3v8v8y4z88j@apphosting.bounces.google.com
   Received: from an-out-0910.google.com (an-out-0910.google.com
   [209.85.132.190])
           by mx.google.com with ESMTP id d19si8287797and.
   17.2008.06.05.17.24.27;
           Thu, 05 Jun 2008 17:24:27 -0700 (PDT)
   Received-SPF: pass (google.com: domain of
   3u4nisayjdm8eczd8317v36.x97wc3v8.v8yczhwc3v8v8y4z88j@apphosting.bounces.google.com
   designates 209.85.132.190 as permitted sender) client-
   ip=209.85.132.190;
   Authentication-Results: mx.google.com; spf=pass (google.com: domain of
   3u4nisayjdm8eczd8317v36.x97wc3v8.v8yczhwc3v8v8y4z88j@apphosting.bounces.google.com
   designates 209.85.132.190 as permitted sender)
   smtp.mail=3u4nisayjdm8eczd8317v36.x97wc3v8.v8yczhwc3v8v8y4z88j@apphosting.bounces.google.com
   Received: by an-out-0910.google.com with SMTP id c35so4004851ana.3
           for brian.and...@brianandjenny.com; Thu, 05 Jun 2008
   17:24:27 -0700 (PDT)
   MIME-Version: 1.0
   Received: by 10.90.79.12 with SMTP id c12mr1313031agb.
   29.1212711867576; Thu,
           05 Jun 2008 17:24:27 -0700 (PDT)
   Message-ID: 0016361e886814f06e044ef47...@google.com
   Date: Thu, 05 Jun 2008 17:24:27 -0700
   Subject: Confirm email address
   From: tre...@gmail.com
   To: brian.and...@brianandjenny.com
   Content-Type: text/plain; charset=ISO-8859-1; Format=Flowed
   Content-Transfer-Encoding: 7bit

   Copy received at developer account:

   Delivered-To: tre...@gmail.com
   Received: by 10.151.10.15 with SMTP id n15cs34681ybi;
           Thu, 5 Jun 2008 17:24:27 -0700 (PDT)
   Received: by 10.90.93.13 with SMTP id q13mr2366598agb.
   78.1212711867663;
           Thu, 05 Jun 2008 17:24:27 -0700 (PDT)
   Return-Path:
   3u4nisayjbs8eczd8317v36.x97eczd8317v36@apphosting.bounces.google.com
   Received: from an-out-0910.google.com (an-out-0910.google.com
   [209.85.132.184])
           by mx.google.com with ESMTP id 36si4223174aga.
   18.2008.06.05.17.24.27;
           Thu, 05 Jun 2008 17:24:27 -0700 (PDT)
   Received-SPF: pass (google.com: domain of
   3u4nisayjbs8eczd8317v36.x97eczd8317v36@apphosting.bounces.google.com
   designates 209.85.132.184 as permitted sender) client-
   ip=209.85.132.184;
   Authentication-Results: mx.google.com; spf=pass (google.com: domain of
   3u4nisayjbs8eczd8317v36.x97eczd8317v36@apphosting.bounces.google.com
   designates 209.85.132.184 as permitted sender)
   smtp.mail=3u4nisayjbs8eczd8317v36.x97eczd8317v36@apphosting.bounces.google.com
   Received: by an-out-0910.google.com with SMTP id c25so3855286anc.6
           for tre...@gmail.com; Thu, 05 Jun 2008 17:24:27 -0700 (PDT)
   MIME-Version: 1.0
   Received: by 10.90.79.12 with SMTP id c12mr1313031agb.
   29.1212711867576; Thu,
           05 Jun 2008 17:24:27 -0700 (PDT)
   Message-ID: 0016361e886814f06e044ef47...@google.com
   Date: Thu, 05 Jun 2008 17:24:27 -0700
   Subject: Confirm email address
   From: tre...@gmail.com
   To: brian.and...@brianandjenny.com
   Content-Type: text/plain; charset=ISO-8859-1; Format=Flowed
   Content-Transfer-Encoding: 7bit

   The sending code is pretty straight forward:

   if mail.is_email_valid(email):
               sender_address = tre...@gmail.com
               subject = Confirm email address
               body =