[google-appengine] advice on how to send mails to addresses on vtext.com domain
Hello I am trying to send email to phonenum...@vtext.com using google app enigne. My problem is that GAE adds a "return-path" header to all outgoing mail which can not be overridden. Verizon on the other hand displays the value of the "return-path" header as the "from" address. This creates all sorts of problems, but primarily users can not respond to my messages as the response will go, if it does go anywhere, to the bounce back address GAE puts in the return-path header. Is there a way to prevent addition of the return path header or prevent Verizon from showing the wrong value in the from field? I am also considering to use a different mail service to send messages from my application hosted on GAE. Now I know GAE prevents me from using a different SMTP server but i could still use some sought of a web-service/url to send mails out. Are there any recommendations on which external mail service provider I could use which wouldn't have similar problems and has a web-service/ url to send mails? Thank You Sandeep -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Does task scheduling work on dev_appserver ?
Only works in prod. On Feb 10, 6:06 am, Justin wrote: > queue.yaml looks as follows: > > queue: > - name: quotes > rate: 6/m > bucket_size: 1 > > The tasks all get executed, but seemingly 'as soon as possible' rather > than my desired one-per-10-seconds. Have I mis-configured something, > or does scheduling only work in production ? > > Thanks! -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: How to trigger a function every 5 minutes
tasks and task queues should do that... schedule one task to run and let that task schedule itself in 5 mins. remember that the eta is not respected in dev env but will work once deployed. On Feb 5, 11:38 pm, momijigari wrote: > Hello! > > I've just started to work with Google App Engine. So I'm noob, and I > ask for your patience. > And I've never programmed with Java before, so I'm a noob twice. > (but I'm a Flash Developer and am familiar with programming). > > I decided to write a small jabber bot running on Google App Engine. > Have read an official tutorial > (http://code.google.com/intl/uk-UA/appengine/articles/using_xmpp.html > ) > Well it was kinda mess but I managed to make a simple bot which says > "hello" as an answer to anything. > I don't even understand how did it work after deployment, cause i > couldn't test anything locally. Kinda magic from google... I still > dont understand the basic concept of how it all works, what class is > triggered first, which one is basic, how they interact etc., and > nobody even tried to explain that in Google documentation. > May be you could advise me also some very VERY simple basic tutorials > for the super noobs in the technology.. > But never mind, I have a different topic here. > > Now I have a simple question — I want my bot to make an action every 5 > minutes. > How can I set a scheduled event in Java? > I've tried to understand the TasksQueue concept (from > herehttp://code.google.com/intl/uk/appengine/docs/java/taskqueue/overview... > ) > But it makes absolutely no sense to me. > > I just need to trigger one function every 5 mins. > What is the easiest way to do it? > > Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Considering using Google Accounts for authentication. Good idea?
Yes you are absolutely correct. With google auth I do not need to maintain a login page as user is redirected to googles login page when authentication is needed. But my problem remains the same. Users come to my site and then are forwarded to the google login page asking for their google credentials. This gives users the false belief that I ("the application owner") am going to recieve ther google password. Many users are not comfortable with the idea of giving their google credentials to me and thus do not sign up/in. This hurts business. PS: Its needless to say that we both know that applications dont get the users password but i don't think users get that at first glance, specially when they are browsing through and debating if they should sign up. Thx Sandeep On Feb 1, 4:58 pm, Jeff Schwartz wrote: > Hi Sandeep, > > I would have thought that by using Google Accounts to authenticate users it > would eliminate the need for having a login page altogether. If the user > isn't logged in then just let the User api forward them to Google's login > page and redirect them back to your site once they've logged in. Am I right > or am I missing something here? > > Jeff > > > > On Tue, Feb 1, 2011 at 4:51 PM, Sandeep Arneja wrote: > > I am in favor of google auth for all the reasons you mentioned. It > > makes things easier, more reliable and cheaper for me. My only concern > > is that most of my new users feel skeptical at first glance when > > providing their google credentials during the sign up process. During > > my demos 90% of my users have said "I hope u won't steal my google > > password". Now both you and I know that google doesn't share the users > > private data let alone the password. The log in page even tells that > > to all users but this is not apparent and is not the users first > > impression. Google analytics shows me that this is huring my sign ups. > > I am considering removing google auth but would like everyones input > > before I do so. > > > Thanks > > Sandeep > > > On Feb 1, 9:08 am, Jeff Schwartz wrote: > > > Hi all, > > > > I hope you don't mind me cross posting this to both the gwt and app > > engine > > > groups since I'd really like to get the opinions of users on both > > platforms. > > > > I'm in the middle of developing a gwt application on app engine. The > > > application's security requirements are that non members, meaning those > > that > > > haven't registered, are restricted to viewing only the application's > > public > > > 'page'. > > > > What I developed for authentication is home grown using my own login > > form, > > > client side cookies and a User entity with password and email address > > stored > > > in the application's data store. While my home grown implementation works > > > perfectly I am not comfortable with the security implications of cookies > > and > > > passing raw passwords to the server to authenticate my users. I also can > > not > > > use SSL at this time as financial constraints unfortunately prohibit any > > > expenditures on this project. > > > > As I place my users' privacy and security above all else I am therefore > > > looking to implement a better solution; one that would if possible > > eliminate > > > my responsibility altogether of having to store cookies and passwords and > > > transport them via HTTP when authenticating. > > > > One alternative that I am currently considering is using Google Accounts > > to > > > authenticate my users along with my own User entity that would store the > > > additional information users must provide when registering to use the > > > services of my application. My User entity (not to be confused with the > > User > > > object provided by the User API) would store the user's Google Account ID > > > and would provide the ability to determine if a user is registered simply > > by > > > querying for their Google Accounts ID in my datastore. It would eliminate > > > having to store client side cookies and sending raw passwords to the > > server. > > > So far it seems like a win-win proposition as it appears to satisfy all > > my > > > use cases. > > > > For those who already use Google Accounts for user authentication are you > > > happy with the service? How about the services' availability track record > > > and does it provide the security you had hoped it would? > > > > For tho
[google-appengine] Issue Parsing incoming mail from Hotmail is Back!!
I am once again getting error in GAE SDK 1.4: java.io.IOException: Truncated quoted printable data when I do part.getContent(); Incomming Mails from Google and Yahoo work. I only see the issue from Hotmail. This code given here: http://code.google.com/p/appengine-springmvc3-starter-app/ does not work any more. This can be verified by sending a mail to this app from hotmail. live app address: http://code.google.com/p/appengine-springmvc3-starter-app/ Please help. Thx -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: wild match in url-pattern
So you agree that the google documentation give here: http://code.google.com/appengine/docs/java/mail/receiving.html is wrong and misleading! On Jan 28, 3:25 pm, yuvi wrote: > Hi, > > There are only 2 * options > /dirName/* or *.fileType you can see many examples for that. > > On Jan 28, 1:40 pm, Sandeep Arneja wrote: > > > Hi I need help with this: > > > /_ah/mail/* --> WORKS > > /_ah/mail/xyz* --> DOES NOT WORK > > > Alhough google documentation on incomming mail has: > > > > > handleowner > > HandleOwner > > > > > > handleowner > > /_ah/mail/owner* > > > > > but they dont work. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Considering using Google Accounts for authentication. Good idea?
I am in favor of google auth for all the reasons you mentioned. It makes things easier, more reliable and cheaper for me. My only concern is that most of my new users feel skeptical at first glance when providing their google credentials during the sign up process. During my demos 90% of my users have said "I hope u won't steal my google password". Now both you and I know that google doesn't share the users private data let alone the password. The log in page even tells that to all users but this is not apparent and is not the users first impression. Google analytics shows me that this is huring my sign ups. I am considering removing google auth but would like everyones input before I do so. Thanks Sandeep On Feb 1, 9:08 am, Jeff Schwartz wrote: > Hi all, > > I hope you don't mind me cross posting this to both the gwt and app engine > groups since I'd really like to get the opinions of users on both platforms. > > I'm in the middle of developing a gwt application on app engine. The > application's security requirements are that non members, meaning those that > haven't registered, are restricted to viewing only the application's public > 'page'. > > What I developed for authentication is home grown using my own login form, > client side cookies and a User entity with password and email address stored > in the application's data store. While my home grown implementation works > perfectly I am not comfortable with the security implications of cookies and > passing raw passwords to the server to authenticate my users. I also can not > use SSL at this time as financial constraints unfortunately prohibit any > expenditures on this project. > > As I place my users' privacy and security above all else I am therefore > looking to implement a better solution; one that would if possible eliminate > my responsibility altogether of having to store cookies and passwords and > transport them via HTTP when authenticating. > > One alternative that I am currently considering is using Google Accounts to > authenticate my users along with my own User entity that would store the > additional information users must provide when registering to use the > services of my application. My User entity (not to be confused with the User > object provided by the User API) would store the user's Google Account ID > and would provide the ability to determine if a user is registered simply by > querying for their Google Accounts ID in my datastore. It would eliminate > having to store client side cookies and sending raw passwords to the server. > So far it seems like a win-win proposition as it appears to satisfy all my > use cases. > > For those who already use Google Accounts for user authentication are you > happy with the service? How about the services' availability track record > and does it provide the security you had hoped it would? > > For those using Google Accounts along with GWT have you found any specific > issues related to using it with GWT (I am using RPC BTW) that you can > relate? > > I am looking forward to reading your feedback and responses and thanks in > advance. > > Jeff > > -- > *Jeff Schwartz* -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] wild match in url-pattern
Hi I need help with this: /_ah/mail/* --> WORKS /_ah/mail/xyz* --> DOES NOT WORK Alhough google documentation on incomming mail has: handleowner HandleOwner handleowner /_ah/mail/owner* but they dont work. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Email Service with 10K+ addresses in the cc list
Each recipient in the bcc list counts towards one email credit On Jun 7, 4:24 pm, Patrick Twohig wrote: > If you send a bulk email like that, does it count as one email towards your > quota or does it count as each recipient. I wrote a task that sends a > single email to my entire subscriber base. WOuld I be saving money by using > the BCC field? > > > > On Mon, Jun 7, 2010 at 8:34 AM, Sandeep Arneja wrote: > > Has anyone experimented with shorter email bcc groups? Whats the > > maximum number of people I can have in a group without having the task > > fail? > > > On Jun 3, 3:00 am, Aurelian wrote: > > > I was trying to send 1200 emails using a task queue, but it doesn't > > > work, giving a error. > > > I think you should split the list of receivers every 5000, and send 2 > > > o 3 emails. > > > Happy coding. > > > > On Jun 3, 7:45 am, Sandeep Arneja wrote: > > > > > I am trying to send an email with about 10K+ addresses in the cc list. > > > > This is not for spam but in case i have maintainence on my application > > > > i send an email to all users informing them about the status. How > > > > should i design this? I see that google app engine in dev stops > > > > responding when i use Transport.send(msg); with 10K+ emails in cc even > > > > when the method is supposed to return asynchronously. Should i divide > > > > the email into smaller tasks and put on the queue or would the engine > > > > not hang in PROD? > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google App Engine" group. > > To post to this group, send email to google-appeng...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-appengine+unsubscr...@googlegroups.com > > . > > For more options, visit this group at > >http://groups.google.com/group/google-appengine?hl=en. > > -- > Patrick H. Twohig. > > Namazu Studios > P.O. Box 34161 > San Diego, CA 92163-4161 -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Email Service with 10K+ addresses in the cc list
Has anyone experimented with shorter email bcc groups? Whats the maximum number of people I can have in a group without having the task fail? On Jun 3, 3:00 am, Aurelian wrote: > I was trying to send 1200 emails using a task queue, but it doesn't > work, giving a error. > I think you should split the list of receivers every 5000, and send 2 > o 3 emails. > Happy coding. > > On Jun 3, 7:45 am, Sandeep Arneja wrote: > > > I am trying to send an email with about 10K+ addresses in the cc list. > > This is not for spam but in case i have maintainence on my application > > i send an email to all users informing them about the status. How > > should i design this? I see that google app engine in dev stops > > responding when i use Transport.send(msg); with 10K+ emails in cc even > > when the method is supposed to return asynchronously. Should i divide > > the email into smaller tasks and put on the queue or would the engine > > not hang in PROD? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Email Service with 10K+ addresses in the cc list
have you experimented with shorter email groups. do we know the maximum recipients that can be safely added? I think maybe the only solution would be to split them into smaller individual tasks. On Jun 3, 3:00 am, Aurelian wrote: > I was trying to send 1200 emails using a task queue, but it doesn't > work, giving a error. > I think you should split the list of receivers every 5000, and send 2 > o 3 emails. > Happy coding. > > On Jun 3, 7:45 am, Sandeep Arneja wrote: > > > I am trying to send an email with about 10K+ addresses in the cc list. > > This is not for spam but in case i have maintainence on my application > > i send an email to all users informing them about the status. How > > should i design this? I see that google app engine in dev stops > > responding when i use Transport.send(msg); with 10K+ emails in cc even > > when the method is supposed to return asynchronously. Should i divide > > the email into smaller tasks and put on the queue or would the engine > > not hang in PROD? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Email Service with 10K+ addresses in the cc list
I am trying to send an email with about 10K+ addresses in the cc list. This is not for spam but in case i have maintainence on my application i send an email to all users informing them about the status. How should i design this? I see that google app engine in dev stops responding when i use Transport.send(msg); with 10K+ emails in cc even when the method is supposed to return asynchronously. Should i divide the email into smaller tasks and put on the queue or would the engine not hang in PROD? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] tasks and queues in google app engine
How do i cancel a task / queue which has already been scheduled? What is the point of the task handler? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Updating a detached object which has a collection which has another collection
I am update the collection field of a detached object and persisting it. Upon view the object i see that it still has the old items in its collection. @PersistenceCapable(detachable="true") @FetchGroup(name="fet_num", member...@persistent(name="numbers")}) public class DirectoryBean { public DirectoryBean(String nameOfCity, ArrayList numbers) { super(); this.nameOfCity = nameOfCity; this.numbers = numbers; } @Persistent @PrimaryKey private String nameOfCity; @Persistent @Element(dependent = "true") private ArrayList numbers; @PersistenceCapable(detachable = "true") @FetchGroup(name="fet_own", member...@persistent(name="owners")}) public class NumberBean { public NumberBean(String areaCode, String num) { super(); this.areaCode = areaCode; this.num = num; this.owners = new ArrayList(); } @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key key; @Persistent private String areaCode; @Persistent private String num; @Persistent @Element(dependent = "true") private ArrayList owners; @PersistenceCapable(detachable = "true") public class OwnerBean { public OwnerBean(String fname, String lname) { super(); this.fname = fname; this.lname = lname; } @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key key; @Persistent private String fname; @Persistent private String lname; PersistenceManager pm = PMF.get().getPersistenceManager(); pm.getFetchPlan().addGroup("fet_own").addGroup("fet_num"); pm.getFetchPlan().setMaxFetchDepth(-1); pm.getFetchPlan().setDetachmentOptions(pm.getFetchPlan().DETACH_LOAD_FIELDS); DirectoryBean dirBeanInstance,detachedDirBeanInstance=null; try{ Key k = KeyFactory.createKey(DirectoryBean.class.getSimpleName(), "lake City"); dirBeanInstance = pm.getObjectById(DirectoryBean.class,k); detachedDirBeanInstance = pm.detachCopy(dirBeanInstance); }catch(Exception e) { e.printStackTrace(); }finally { pm.close(); } ArrayList newNumBeans = new ArrayList(); newNumBeans.add(new NumberBean("555", "777")); detachedDirBeanInstance.setNumbers(newNumBeans); pm = PMF.get().getPersistenceManager(); try{ pm.makePersistent(detachedDirBeanInstance); }catch(Exception e) { e.printStackTrace(); }finally { pm.close(); } -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.