我们正在寻找一个CRM Web应用程序,到目前为止salesforce.com/force.com似乎是唯一允许您直接在其平台上构建应用程序的应用程序.但是我想知道gmail/google应用程序是否在他们的平台上提供相同的自由.
到目前为止,我们发现firefox扩展"正是"我们正在寻找的东西.您可以查看 http://rapportive.com/.如您所见,联系人详细信息直接显示在gmail界面中.唯一的问题是,如果我们想要更复杂的功能,如果gmail更改其界面,扩展可能会变得不稳定,所以我想知道是否可以直接在gmail平台上构建功能.基本上我们希望使用其他功能"升级"gmail应用程序(例如,根据电子邮件内容自动回复,联系详细信息视图,如rapportive.com扩展名等.
我有一个托管在AWS实例上的网站.我希望从应用程序代码(php)发送电子邮件,例如简报.
我使用Google Apps的gmail定期发送电子邮件,并使用SwiftMailer使用gmail帐户详细信息从应用程序发送电子邮件.
我最近从亚马逊(下面)收到一条消息,我的实例已达到其电子邮件发送限制.我的问题是,是否最好使用新的亚马逊SES,或要求亚马逊提高限额并继续使用Gmail.
我计划每周发送数千封电子邮件,其中一些将是一份简报,大量发送.
谢谢,多利安
来自亚马逊的消息写道:
"亲爱的EC2客户,您最近达到了对您的实例上的SMTP端口25发送的电子邮件数量的限制:
实例ID:i-xxxxxx
*IP地址:xx.xx.xx.xx
*开始日期:2011-02-12 17:48 +0000
为了保持用于发送电子邮件的EC2地址的质量,我们对可以从EC2帐户发送的电子邮件数量实施默认限制.如果您希望从EC2发送大量电子邮件,您可以填写我们的在线申请表,申请将这些限制从您的帐户中删除."
我正在使用Smack在Java/Spark中开发内部仪表板,以便在LDAP用户组之间启动Google Talk会议.我跑的时候
MultiUserChat.isServiceEnabled(connection, "user@mydomain.com")
Run Code Online (Sandbox Code Playgroud)
它返回false.我知道通过GMail客户端,可以开始群组对话.由于Google Apps域中存在某些内容,或Google是否在Google Talk中使用其他方式进行群聊,这可能会导致错误吗?
使用Google API .NET Client v1.3.0-beta.
我创建了一个控制台应用程序,用于从服务帐户的示例代码中测试Google Admin Directory的基础知识.这应该给我一个域中所有电子邮件地址的计数.
using System;
using System.Collections.Generic;
using DotNetOpenAuth.OAuth2;
using Google.Apis.Admin.directory_v1;
using Google.Apis.Admin.directory_v1.Data;
using System.Security.Cryptography.X509Certificates;
using Google.Apis.Authentication.OAuth2;
using Google.Apis.Authentication.OAuth2.DotNetOpenAuth;
using Google.Apis.Services;
using Google.Apis.Util;
namespace ConsoleApplication1
{
class Program
{
private const string SERVICE_ACCOUNT_EMAIL = "012345678901@developer.gserviceaccount.com";
private const string SERVICE_ACCOUNT_ID = "012345678901.apps.googleusercontent.com";
private const string SERVICE_ACCOUNT_PKCS12_FILE_PATH = @"C:\ConsoleApplication1\randomlyassigned-privatekey.p12";
static void Main(string[] args)
{
X509Certificate2 certificate = new X509Certificate2(SERVICE_ACCOUNT_PKCS12_FILE_PATH, "notasecret", X509KeyStorageFlags.Exportable);
var provider = new AssertionFlowClient(GoogleAuthenticationServer.Description, certificate)
{
ServiceAccountId = SERVICE_ACCOUNT_EMAIL,
Scope = AdminService.Scopes.AdminDirectoryUser.GetStringValue()
}; …Run Code Online (Sandbox Code Playgroud) 我尝试为我的应用添加自定义域,我自己的域,而不是默认域example.appspot.com.
但只是发现Google不允许免费使用Google Apps.仅限Google Apps for Business.
实际上我不需要Google Apps for Business提供的任何内容,只需要将我自己的域用于我的GAE项目.但似乎现在没有办法使用自定义域名无需登录Google Business帐户?每年支付50美元.
这是对的吗?有没有其他方法可以将自定义域添加到GAE?
我正在研究在tomcat上运行的Spring-MVC应用程序,我想在其中使用Google驱动器功能.我尝试在我的本地机器上使用服务帐户,我没有遇到任何问题.但是当我在服务器上上传代码时,浏览器URL不会被打开.然后我想,我不应该使用服务帐户,我应该使用普通的网络应用程序帐户.现在,当我这样做时,我得到一个redirect_uri_mismatch.
我不明白一件事,我在流程中设置重定向URL,在JSON中,为什么它会获得带有随机端口号的redirect_url.如果我更改浏览器URL中的端口号,它可以正常工作.但仍然在服务器上它不会打开浏览器URL,我可以在tomcat日志中看到它,但该死的东西不会打开URL.
以下是我在Google应用中的重定向网址:
http://localhost/authorizeuser
http://localhost:8080/
http://localhost:8080
http://localhost
http://localhost:8080/Callback
https://testserver.net/Callback
http://testserver.net/Callback
http://127.0.0.1
Run Code Online (Sandbox Code Playgroud)
这是我的client_secret.json:
{"web": {
"client_id": "clientid",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://accounts.google.com/o/oauth2/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_email": "clientemailstuff",
"client_x509_cert_url": "certurlstuff",
"client_secret": "itsasecret",
"redirect_uris": ["http://localhost:8080/","http://localhost:8080"],
"javascript_origins": ["https://testserver.net", "http://testserver.net","http://localhost:8080"]
}}
Run Code Online (Sandbox Code Playgroud)
以下是我要验证的代码:
@Override
public Credential authorize() throws IOException {
InputStream in =
DriveQuickstartImpl.class.getResourceAsStream("/client_secret.json");
GoogleClientSecrets clientSecrets =
GoogleClientSecrets.load(JSON_FACTORY, new InputStreamReader(in));
GoogleAuthorizationCodeFlow flow =
new GoogleAuthorizationCodeFlow.Builder(
HTTP_TRANSPORT, JSON_FACTORY, clientSecrets, SCOPES)
.setDataStoreFactory(DATA_STORE_FACTORY)
.setAccessType("offline")
.build();
flow.newAuthorizationUrl().setState("xyz").setRedirectUri("http://localhost:8080/Callback");
Credential credential = new AuthorizationCodeInstalledApp(
flow, new LocalServerReceiver()).authorize("user");
if(credential!=null && credential.getRefreshToken() != null){
storeCredentials(credential);
} …Run Code Online (Sandbox Code Playgroud) java google-api google-apps google-api-java-client google-oauth
当您下载适用于iOS的新Google套件应用程序时 - 无论是GMail,收件箱,日历还是其他任何内容 - 它们都会让您使用您的帐户登录,并且已经向您显示您在其他地方登录的帐户.
这个问题适用于iOS和Android.
我知道应用程序可以使用Safari或新的Safari WebView(Android中的Chrome标签)和永久性Cookie来在应用程序之间共享数据.它有点笨拙,可以被用户删除cookie打破.但除此之外,它有效.
谷歌似乎正在使用别的东西.AdvertisingID?他们究竟是如何在这两种操作系统上实现共享数据的?
我正在尝试将我的域中的Google群组添加到Google Play上针对我开发的应用的Beta测试人员列表中.
我的域名是"mydomain",并运行Google Apps.我几天前在管理控制台上创建了一个组.该组称为customer-beta @ mydomain.我以richard @ mydomain身份登录,并且是该组的所有者和成员,以及mydomain的管理员.
当我尝试将该群组添加到测试版时,它会显示"要从Google Apps域中选择一个群组,您需要使用该域中的帐户登录".据我所知,我使用域中的帐户登录.
我可以添加@ googlegroups.com组,但这似乎不太理想.
谁能告诉我这里发生了什么?

我真的很难尝试使用服务帐户身份验证来使用Google Directory API(Admin SDK).
使用基于客户端的三脚架OAuth可以正常运行(在此处测试 - https://developers.google.com/admin-sdk/directory/v1/reference/members/insert)但是我对服务帐户的权限委派存在问题使用.在Google Apps管理下,我启用了API,并按照说明将服务帐户添加到允许的OAuth客户端列表中.
这是代码:
import httplib2
import sys
from apiclient.discovery import build
from oauth2client.client import SignedJwtAssertionCredentials
credentials = SignedJwtAssertionCredentials(
'<KEY>@developer.gserviceaccount.com',
'<KEY DATA>',
scope='https://www.googleapis.com/auth/apps.groups.settings https://www.googleapis.com/auth/admin.directory.group https://www.googleapis.com/auth/admin.directory.group.member'
)
http = httplib2.Http()
http = credentials.authorize(http)
service = build("admin", "directory_v1", http=http)
groups = service.groups()
g = groups.get(groupKey="<GROUP NAME>").execute()
Run Code Online (Sandbox Code Playgroud)
最终,我收到以下错误:
apiclient.errors.HttpError: <HttpError 403 when requesting https://www.googleapis.com/admin/directory/v1/groups/<GROUP NAME>?alt=json returned "Not Authorized to access this resource/api">
Run Code Online (Sandbox Code Playgroud)
我也尝试使用以下API:
service = build("groupssettings", "v1", http=http)
Run Code Online (Sandbox Code Playgroud)
但这也会返回错误 - "后端错误".
是否可以使用Google Apps脚本在Google云端硬盘中搜索文档和文件夹?
谷歌已经杀死了他们自己的docs/drive搜索小工具,因为它似乎依赖iGoogle和谷歌企业支持已经承认这一点.
谢谢
google-apps ×10
google-api ×2
java ×2
android ×1
c# ×1
crm ×1
directory ×1
email ×1
gmail ×1
google-oauth ×1
google-play ×1
google-talk ×1
ios ×1
python ×1
salesforce ×1
smack ×1
xmpp ×1