There's a specific api to send admin messages, don't use the usual one.

On Monday, March 5, 2012 2:37:06 PM UTC, Rodrigo Teixo wrote:
>
> Hi, 
>
> I trying to send a admin email, but the quota is counting as a regular 
> email sent instead of count as a Admin Emailed. 
>
> The documentation dont have a simple question like this to be finded. 
>
> Code being used: 
>                             Message msg = new MimeMessage(session); 
>
>                             msg.setFrom(new 
> InternetAddress(myEmailAdminHere)); 
>
>                             msg.addRecipient(Message.RecipientType.TO, 
>                                                                    new 
> InternetAddress(myEmailAdminHere)); 
>
>                             msg.setText(msgBody); 
>                             Transport.send(msg); 
>
> Thanks in advance for any help. 
> [], 
> Rodrigo.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/fcbxfwlri2QJ.
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.

Reply via email to