Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Hi. Some Rocket Science...
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post will appear after it is approved by moderators
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
garymarbach  
View profile  
 More options Jan 9, 9:31 am
From: garymarbach <garymarb...@gmail.com>
Date: Fri, 9 Jan 2009 06:31:12 -0800 (PST)
Local: Fri, Jan 9 2009 9:31 am
Subject: Hi. Some Rocket Science...
I'm new to this group.  I joined because it seemed like a place I
might be able to learn more about google and gmail access.

I would like to do some scripting (prefer PHP) that reads a gmail
message, optionally adds the sender to my contacts, send an email back
to the sender (from the gmail name/mailbox I'm working with at the
time), and again - optionally - mark that email as 'read'... all from
the one script, if possible.

I'm sure that none of this is rocket science, but I'm having a tough
time finding any real 'tutorial' or 'example' on it.

If you were going to approach this, what would you do?

Thanks - appreciate your guidance of a lost newbie.

Gary


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marilyn K Hald  
View profile  
 More options Jan 9, 11:38 pm
From: Marilyn K Hald <sam_tho...@sbcglobal.net>
Date: Fri, 9 Jan 2009 20:38:57 -0800 (PST)
Local: Fri, Jan 9 2009 11:38 pm
Subject: Re: [GMusers] Hi. Some Rocket Science...

not to be a smart ass but i would do the as as you.  ask.  this group has some very smart individuals in it when it comes to gmail.

--- On Fri, 1/9/09, garymarbach <garymarb...@gmail.com> wrote:
From: garymarbach <garymarb...@gmail.com>
Subject: [GMusers] Hi.  Some Rocket Science...
To: "GMusers- GMail Beta & Beyond" <GMusers@googlegroups.com>
Date: Friday, January 9, 2009, 6:31 AM

I'm new to this group.  I joined because it seemed like a place I
might be able to learn more about google and gmail access.

I would like to do some scripting (prefer PHP) that reads a gmail
message, optionally adds the sender to my contacts, send an email back
to the sender (from the gmail name/mailbox I'm working with at the
time), and again - optionally - mark that email as 'read'... all from
the one script, if possible.

I'm sure that none of this is rocket science, but I'm having a tough
time finding any real 'tutorial' or 'example' on it.

If you were going to approach this, what would you do?

Thanks - appreciate your guidance of a lost newbie.

Gary


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
nabil salhab  
View profile  
 More options Jan 11, 10:31 am
From: "nabil salhab" <ancientmarine...@gmail.com>
Date: Sun, 11 Jan 2009 18:31:58 +0300
Local: Sun, Jan 11 2009 10:31 am
Subject: Re: [GMusers] Re: Hi. Some Rocket Science...

Well,I can advice you to try a (Trial and error) method ,may be it works.

On Sat, Jan 10, 2009 at 7:38 AM, Marilyn K Hald <sam_tho...@sbcglobal.net>wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
garymarbach  
View profile  
 More options Jan 11, 9:51 am
From: garymarbach <garymarb...@gmail.com>
Date: Sun, 11 Jan 2009 06:51:29 -0800 (PST)
Local: Sun, Jan 11 2009 9:51 am
Subject: Re: Hi. Some Rocket Science...
Marilyn - I've read your post a couple of times and don't understand
it - sorry.  Mine is a question about doing something pretty straight
forward - its just that I haven't found a tutorial for it.  I didn't
imply anything about others knowledge levels at all - and would not do
that.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ryan Morehart  
View profile  
 More options Jan 11, 12:02 pm
From: "Ryan Morehart" <moreh...@gmail.com>
Date: Sun, 11 Jan 2009 12:02:12 -0500
Local: Sun, Jan 11 2009 12:02 pm
Subject: Re: [GMusers] Hi. Some Rocket Science...

On Fri, Jan 9, 2009 at 9:31 AM, garymarbach <garymarb...@gmail.com> wrote:
> I would like to do some scripting (prefer PHP) that reads a gmail
> message, optionally adds the sender to my contacts, send an email back
> to the sender (from the gmail name/mailbox I'm working with at the
> time), and again - optionally - mark that email as 'read'... all from
> the one script, if possible.

You should be able to do everything you want to do simply by enabling
IMAP in Gmail then accessing it using the standard POP IMAP library.
You should be able to find tutorials for using the standard library
fairly easily and you can figure out what to give

http://us.php.net/imap

Ryan


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Max Schubert  
View profile  
 More options Jan 11, 12:26 pm
From: "Max Schubert" <max.schub...@gmail.com>
Date: Sun, 11 Jan 2009 12:26:59 -0500
Local: Sun, Jan 11 2009 12:26 pm
Subject: Re: [GMusers] Hi. Some Rocket Science...
Adding a sender to your contacts list probably can't be done through
IMAP, for that you will need a web automation library.

I still limit my use of PHP to web-based projects.

That siad, WWW::Mechanize for perl and the same named library for ruby
both work very well for this purpose.   Python also has an excellent
web automation library as well.

I believe there is a similar package for PHP.

If you are familiar with perl or ruby or python you will probably find
this project will be much easier to complete using one of them instead
of PHP :).

- Max


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Max Schubert  
View profile  
 More options Jan 11, 12:17 pm
From: "Max Schubert" <max.schub...@gmail.com>
Date: Sun, 11 Jan 2009 12:17:15 -0500
Local: Sun, Jan 11 2009 12:17 pm
Subject: Re: [GMusers] Hi. Some Rocket Science...
Gary,

Look at the IMAP libraries available for PHP; that is the easiest way
to programatically manipulate a Gmail mailbox you own.  I have done
this kind of work using ruby as the programming language and it was
relatively easy.

If you search Google :p for

Gmail and IMAP and PHP

I bet you will find tutorials or blog posts (I found blog posts) that
helped me out.

If not Gmail specific tutorials, there are many PHP tutorials on
programmatic control of IMAP I am sure :).

If PHP fails you, try ruby or perl, both have well done IMAP libraries.

- Max


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marilyn K Hald  
View profile  
 More options Jan 11, 11:48 pm
From: Marilyn K Hald <sam_tho...@sbcglobal.net>
Date: Sun, 11 Jan 2009 20:48:19 -0800 (PST)
Local: Sun, Jan 11 2009 11:48 pm
Subject: Re: [GMusers] Re: Hi. Some Rocket Science...

i dont believe they have ever created a tutorial.  at least one that i have ever heard about..

--- On Sun, 1/11/09, garymarbach <garymarb...@gmail.com> wrote:
From: garymarbach <garymarb...@gmail.com>
Subject: [GMusers] Re: Hi. Some Rocket Science...
To: "GMusers- GMail Beta & Beyond" <GMusers@googlegroups.com>
Date: Sunday, January 11, 2009, 6:51 AM

Marilyn - I've read your post a couple of times and don't understand
it - sorry.  Mine is a question about doing something pretty straight
forward - its just that I haven't found a tutorial for it.  I didn't
imply anything about others knowledge levels at all - and would not do
that.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
garymarbach  
View profile  
 More options Jan 12, 11:12 am
From: garymarbach <garymarb...@gmail.com>
Date: Mon, 12 Jan 2009 08:12:50 -0800 (PST)
Local: Mon, Jan 12 2009 11:12 am
Subject: Re: Hi. Some Rocket Science...
Godaddy has told me that I can't have IMAP access via my website.

I have seen cases where they supply some access and their customer
service folks simply don't know what is available and what is not
available ....  but I haven't learned yet how to tell if I really can
access IMAP stuff from my site.  I should probably test that.  So, if
anyone knows a simple test to do to see if IMAP is accessible from my
site (preferable a PHP oriented test), please let me know.

That said, I'm hoping that PERL, Ruby, or Python approaches can do
what I need to do without requiring IMAP...  What do you think?  Is
that possible?

If IMAP is the ONLY way to achieve this stuff, I guess I will need to
get another host...

Thank you all for the great assistance!

Gary

On Jan 9, 6:31 am, garymarbach <garymarb...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google