Retrieve the email ALL forwarding settings

82 views
Skip to first unread message

robert dupont

unread,
May 4, 2012, 4:37:23 PM5/4/12
to google-app...@googlegroups.com
Hi,

I'd like to know if it's possible to retrieve all forwarding settings for a given user with the email settings API. For example, I have the user "myuser" and with the settings interface on gmail I can put for this user many forwarding email addresses (addr...@mydomain.com,addr...@mydomain.com).
I've tested to retrieve settings and I've retrieved only the first (checked) email address (addr...@mydomain.com)
I've already tried with GAM : same result.
Any solution? 

Thanks in advance,

Robert.

Thibault Mortier

unread,
May 7, 2012, 11:26:01 AM5/7/12
to google-app...@googlegroups.com
Hi Robert,

I am also looking this type of function for the users of my domain. I have been looking through the Gmail settings API list but could only find when ONE address is used to forward all incoming emails. In my case some users are using filters to forward to different email addresses and I'm looking for these forwarding addresses also.
If anyone has hint on how to retrieve the different forwarding addresses of 1 user, I'll gladly use it.
cheers

Thibault

On Friday, May 4, 2012 10:37:23 PM UTC+2, robert dupont wrote:
Hi,

I'd like to know if it's possible to retrieve all forwarding settings for a given user with the email settings API. For example, I have the user "myuser" and with the settings interface on gmail I can put for this user many forwarding email addresses (addr...@mydomain.com,address2...@mydomain.com).

Alexandre Jacquet

unread,
May 7, 2012, 2:18:45 PM5/7/12
to google-app...@googlegroups.com
Hello Guys,

I think it is possible to retrieve the forwarding addresses with Email Settings API, sorry if I misunderstood.


Retrieving Google Mail forwarding settings is accomplished with a GET request to the following URL:


GET https://apps-apis.google.com/a/feeds/emailsettings/2.0/{domain name}/{username}/forwarding

Alexandre Jacquet
Deployment & Operations

Nice 2 Cloud U

Inline image 1







--
You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-apps-mgmt-apis/-/94avQ8kri9gJ.

To post to this group, send email to google-app...@googlegroups.com.
To unsubscribe from this group, send email to google-apps-mgmt...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-apps-mgmt-apis?hl=en.

robert dupont

unread,
May 9, 2012, 4:09:11 AM5/9/12
to google-app...@googlegroups.com
Hi, 

Thanks for your answer. Yes we tried that and we can only retrieve the checked email address and not all the email addresses. We'd like to retrieve all the email addresses added in the forwarding list

Regards,

Robert

2012/5/7 Alexandre Jacquet <aleja...@ajsolutions.me>

David Hardwick

unread,
Jun 18, 2012, 1:26:51 PM6/18/12
to google-app...@googlegroups.com


On Friday, May 4, 2012 4:37:23 PM UTC-4, robert dupont wrote:
Hi,

I'd like to know if it's possible to retrieve all forwarding settings for a given user with the email settings API. For example, I have the user "myuser" and with the settings interface on gmail I can put for this user many forwarding email addresses (addr...@mydomain.com,address2...@mydomain.com).

David Hardwick

unread,
Jun 18, 2012, 1:27:25 PM6/18/12
to google-app...@googlegroups.com
We are seeing the same...seems like a bug, not sure why they couldn't list out all the forwarding entries instead of just  the active one.

Anyone from Google able to confirm this is a bug or how it was always meant to be (only showing the active entry).
Robert

2012/5/7 Alexandre Jacquet <aleja...@ajsolutions.me>

To post to this group, send email to google-apps-mgmt-apis@googlegroups.com.
To unsubscribe from this group, send email to google-apps-mgmt-apis+unsub...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-apps-mgmt-apis?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group.
To post to this group, send email to google-apps-mgmt-apis@googlegroups.com.
To unsubscribe from this group, send email to google-apps-mgmt-apis+unsub...@googlegroups.com.
Robert

2012/5/7 Alexandre Jacquet <aleja...@ajsolutions.me>

To post to this group, send email to google-apps-mgmt-apis@googlegroups.com.
To unsubscribe from this group, send email to google-apps-mgmt-apis+unsub...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-apps-mgmt-apis?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group.
To post to this group, send email to google-apps-mgmt-apis@googlegroups.com.
To unsubscribe from this group, send email to google-apps-mgmt-apis+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages