google-apps

URL to compose a message in Gmail (with full Gmail interface and specified to, bcc, subject, etc.)

半腔热情 提交于 2019-11-28 15:27:27
I found a post that provides an example for a link which opens just a compose message window. However, I would like it to open a window with the full Gmail interface but ready to compose a new message. Of course this works: https://mail.google.com/mail/u/0/#compose But, I would also like to add a subject, to, bcc, etc. I tried something like the following, but to no avail: https://mail.google.com/mail/?to=inbox@example.com&bcc=admin@example.com&subject=Hey#compose Any ideas? Thanks. This seems to work (for now): https://mail.google.com/mail/?view=cm&fs=1&to=someone@example.com&su=SUBJECT&body

Send mail with CDO through Google Apps gives transport error: CDO.Message.1 error '80040213'

。_饼干妹妹 提交于 2019-11-28 11:55:24
问题 I'm trying to send an contact enquiry email from a legacy classic asp script using a Google Apps account as the SMTP server. The code I have to test this is as follows: Dim ObjSendMail Set ObjSendMail = CreateObject("CDO.Message") 'This section provides the configuration information for the remote SMTP server. ObjSendMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 'Send the message using the network (SMTP over the network). ObjSendMail

How do I use OAuth within my GWT application?

核能气质少年 提交于 2019-11-28 09:10:57
How do I use OAuth within my Java GWT application? In particular, I want to get a list of users in my Google Aps domain, using this API: http://code.google.com/googleapps/domain/profiles/developers_guide_protocol.html I know this sounds like a question, that probably has been asked many times before, but I couldn't find any Java code on how to realize the OAuth steps described in the API above. I would be glad if someone could share some code, or point me to the right docs. What do you mean in your GWT application? Do you mean client-side only? Because on the server you can easily use the

Is there a way to use ASP.NET to send email through a Google Apps account without selecting the 'Allow less secure apps' option?

人走茶凉 提交于 2019-11-28 08:58:24
问题 I have an ASP.NET web API that I'm trying to use to send an email. I'm getting authentication issues using smtp.gmail.com and 587. I've seen several links saying to toggle the 'Allow less secure apps' option on my Google Apps account, but I'd rather not have to explain to the owners why they need to pick this dubious-sounding setting. Is there a way to package an email request in ASP.NET that Google will like, or will I have to select the 'Allow less secure apps' option? This is the code I'm

Share a Drive document without notifying user with Google Apps Script

丶灬走出姿态 提交于 2019-11-28 08:26:51
I am creating a workflow process in Apps Script where a Doc is generated from a template and shared with various users for approval. The Script sends a customised email notifying a user that the document requires their approval but they also receive a second email at each stage in the process from the user whose Drive the document is stored in saying "User has shared a document with you". Is there any way of disabling these alerts? When you share a document manually from your Drive, there is a checkbox option that allows you to choose whether or not the user receives a notification. However, I

Error consuming customerLicense App Marketplace with Service Account OAuth2

蓝咒 提交于 2019-11-28 06:02:15
问题 SOLUTION I figured out how to solve this problem. First of all here is my implementation with Service Account: // Build service account credential. GoogleCredential credential = new GoogleCredential.Builder().setTransport(httpTransport) .setJsonFactory(JSON_FACTORY) .setServiceAccountId(SERVICE_ACCOUNT_EMAIL) .setServiceAccountScopes(Collections.singleton("https://www.googleapis.com/auth/appsmarketplace.license")) .setServiceAccountPrivateKeyFromP12File(new File("/path/to/mykey/key.p12")) //

authorize google calendar api works on personal account but not on google domain account

折月煮酒 提交于 2019-11-28 05:56:45
问题 I need to make a Java application that stores calendar events in employees within a Google Domain. I created the application based on a sample I found on http://code.google.com/p/google-api-java-client/wiki/APIs#Calendar_API Now I wanted to make it work on an account from the google domain and suddenly I'm stuck. I changed the client_secrets.json file with a new one. generated on code.google.com/apis/console for an installed application and now I get a invalid client error: ex = (com.google

Google apps login in django

痴心易碎 提交于 2019-11-28 05:33:59
I'm developing a django app that integrates with google apps. I'd like to let the users login with their google apps accounts (accounts in google hosted domains, not google accounts ) so they can access their docs, calendar, and whatnot. In order to do it, I downloaded and started using django_openid_auth (and thus, python-openid). First, to test it, I used this url in my settings: OPENID_SSO_SERVER_URL = 'https://www.google.com/accounts/o8/id' And with that I managed to redirect the user to the google accounts page to login and then to return to my own domain, with the authentication cycle

get value in one column in spreadsheet using google apps script

て烟熏妆下的殇ゞ 提交于 2019-11-28 05:01:01
I want to get a string value -to compare it later on with an if condition- from only one column in spreadsheet using Google apps script. I searched the internet and I found this link - sorry if this sounds stupid, I am new to Google apps scripts - https://developers.google.com/apps-script/class_spreadsheet var values = SpreadsheetApp.getActiveSheet().getRange(2, 3, 6, 4).getValues(); I guess that must be helpful, the only problem is that the column I want to get the values from is dynamic so how do I set the range of this column if you use simply : var values = SpreadsheetApp.getActiveSheet()

Received error “Not Authorized to access this resource/api” when trying to use Google Directory API and Service Account Authentication

时光怂恿深爱的人放手 提交于 2019-11-28 04:06:34
问题 I'm really struggling with trying to use Service Account authentication to use the Google Directory API (Admin SDK). Using client based three legged OAuth this works (tested here - https://developers.google.com/admin-sdk/directory/v1/reference/members/insert) but there's a problem with the permission delegation to the service account I am using. Under the Google Apps administration, I enabled using APIs and added the service account to the list of allowed OAuth clients as instructed. Here is