Additional mailboxes can be configured to a user using MS Outlook Client. I presume a shared mail group can also be added this way.
http://www.vlerick.com/helpdesk/our_services/faq/software_solution/microsoft/outlook/faq_additional_mailbox.html
I am trying to develop a java program to read emails using java mail api. I am currently trying to connect and read using POP3 protocol. Is there any way to read mails from other shared mail boxes configured for a user using java mail api?
Regards,
Vivek
Related
I'm running an app on the Google App Engine standard environment. We need to send out a lot of emails and it looks like App Engine now lets us use JavaMail to send emails using SMTP - connecting to smtp.gmail.com or smtp.sendgrid.net.
I was wondering if this counts towards the Mail API limits/quotas in App Engine. I'm guessing it shouldn't, since the email is actually sent by the respective SMTP server and it's only outbound traffic from App Engine. Is this correct?
Note: I'm not a Java user, the answer is based on documentation only.
Indeed, using 3rd party partner mail services is the Google recommendation for sending lots of emails. From Quotas and limits:
Each Mail service request counts toward the Mail API Calls quota.
There are also quotas for the number of messages you can send, the
number of Admin messages you can send, and the amount of data and
attachments you can send. For more details, see Mail quotas.
[...]
If you need to send more mail then the quota allows, you can use a
third-party mail provider, such as SendGrid or Mailgun.
And JavaMail can, indeed, use these 3rd party SMTP servers. From Sending email messages:
To send email messages, use the JavaMail classes included with the App
Engine SDK.
When you create a JavaMail Session, if you do not provide any SMTP
server configuration, App Engine uses the Mail service for sending
messages. Alternatively, add SMTP configuration for supported
third-party mail providers such as Mailgun, Mailjet, or
SendGrid.
This last quote appears (depending on how you interpret it, I guess) to support your assumption that when SMTP servers are specified the Mail service would not be used, thus those calls wouldn't be counted against the Mail API Calls quota.
Also each of the 3rd-party mail integration documentation page referenced in these quotes doesn't (or at least doesn't directly) use JavaMail, instead they require specific libraries/modules. Which might have some relationship with bypassing the GAE Mail Api quota limits. For example, from Sending Email with SendGrid:
Sending an email
It's easy to get started with the Java library for SendGrid to
send emails from your App Engine apps.
With the prerequisites complete, make sure you are set up for
Java on your local machine. The last thing you'll need before
writing code is to copy Sendgrid.java to the src directory of
your app. You'll import this class so that you can create a SendGrid
instance and send mail with simple commands.
So, to gain certainty, my suggestion is to actually put your assumption to the test: send some emails using JavaMail while specifying your SMTP server info, then check your actual usage in the developer console Quotas page for matching increases. Notes:
give some ample room for propagation delays - the usage counts might not be immediately updated
if you don't see the Mail section in the Usage table check also, towards the bottom of the page, a Show resources not in use button/link (but, if it's in there, it means the usage is zero).
You could also directly follow the recommended specific instructions for your 3rd party provider of choice and practically avoid the question altogether :)
I am using InboxSDK and gmail API on PHP to build a chrome extension.
Everything is flowing quite okay so far, but I am facing a big obstacle.
What is my purpose?:
Via InboxSDK, I want to handle when a user attaches files.
Send all the information to my server.
Attach the files and send the mail via Gmail API from the server.
Where am I?:
I already authorize the user with OAuth2.0 and keep the tokens and also I am already able to send the e-mails written in Gmail Web via server Gmail API.
I do not know how to move on with handling the files.
How may I proceed?
Also, if there is any alternative way to achieve this without InboxSDK I am happy to hear.
Thank you.
It is not possible as mentioned.
But there is a workaround.
Create a draft via InboxSDK.
Fetch the draft via gmail API.
Send the created draft, which already contains the attached files.
I am trying to use HTTP APIs mentioned in below link to access my IoT devices and their data: https://docs.internetofthings.ibmcloud.com/swagger/v0002.html#!/Organization_Configuration/get
I am using my 6 digit organization code to access these apis and I have created API Key from IBM Watson to access these apis.
I am attaching snapshot of postman REST Api client, which I am using to send request from my local database to server.
Thanks in advance.
Are you using the version 1 APIs for the Watson IoT Platform? Those were replaced by more powerful version 2 APIs last year and v1 has now been deprecated.
Delete your current api and create a new api from your IBM watson.
Copy that new api secret username and password at time of creation (as you can't see it once it's created) and put it to any rest client.
This worked for me!
I want to compose an outlook E-mail through java on my local machine. Can someone please suggest which library to use and few related sample example's would be great.
Want I am really trying to do is this.
compose an outlook email by connecting to outlook with my username and password through java.
attach a file and create a HTML message.
send it to the recipients
Please help me taking first steps to create this program.
I assume what you really want to do is connect to the Exchange mail server and send the message without using the Outlook client application. As long as your Exchange server has SMTP support enabled, you should be able to do that using JavaMail. There's documentation, sample programs, and a FAQ. Start at the JavaMail project page.
I need to receive the email in Silverlight page using pop3 client protocol or is there any other way to do that
Guide me pls!
Thanks.
If you want to "receive" an email you need a pop3 server. The silverlight application runs in the client and it not possible to make a server on the client with silverlight. What you can do is create a pop3 server on the machine serving the silverlight page in c# :
http://www.codeproject.com/Articles/20609/POP3-Server
and communicate with this server using WCF.