如何使用我的 Gmail 凭据从桌面应用程序发送邮件到特定电子邮件 ID

发布于 2024-08-24 13:36:48 字数 479 浏览 7 评论 0原文

我正在为 Twitter、Buzz 和 facebook 开发一个桌面应用程序。 Google Buzz 尚未发布其完整的 api 来发布动态更新,但今天我了解到,要创建新的动态更新,只需邮寄到 [电子邮件受保护],主题为您要创建的 Buzz 内容。

现在我陷入了如何从我的 gmail 发送邮件到 [email protected] 的问题id 使用我正在开发的 destop 应用程序。是否有任何类型的谷歌网络服务或API可用于完成该任务?

谢谢, GG

I am just developing an a desktop application for Twitter, Buzz and facebook. Google Buzz has not released their whole api to post buzz, but today I came to know that to create a new Buzz just mail to [email protected] with subject as Buzz content you want to create.

Now I got stuck that how to mail to [email protected] from my gmail id using destop application which I am developing. Is there any kind of google webservice or api is available to do the task?

Thanks,
GG

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

蓝眸 2024-08-31 13:36:48

您可以使用 SMTP 通过 Gmail 发送邮件。
首先,您需要在设置中为 Gmail 帐户启用 POP 或 IMAP(或两者)。

然后,您可以使用 SSL 连接到端口 587 上的 SMTP.Gmail.com。

如需更详细的说明,请告诉我们您正在编写的语言。

You can use SMTP to send mail through Gmail.
First, you will need to enable either POP or IMAP (or both) for the Gmail account in settings.

You can then connect to SMTP.Gmail.com on port 587 using SSL.

For more detailed instructions, please tell us what language you're writing.

Oo萌小芽oO 2024-08-31 13:36:48

还有一个非常易于使用的Post to Google Buzz API。您只需像这样构造 URI:

http://www.google.com/buzz/post?message={your_message}&url={your_url}

还有一个 JavaScript API 可以生成按钮适合您:

<a href="http://www.google.com/buzz/post"
  class="google-buzz-button" title="Google Buzz"
  data-message="{your_message}"
  data-url="{your_url}"
  data-locale="en"
  data-button-style="normal-count"></a>
<script type="text/javascript" src="http://www.google.com/buzz/api/button.js">
</script>

还有完整 REST API 的文档。

There is also a Post to Google Buzz API that is pretty easy to use. You simply construct the URI like this:

http://www.google.com/buzz/post?message={your_message}&url={your_url}

There's also a JavaScript API that generates the buttons for you:

<a href="http://www.google.com/buzz/post"
  class="google-buzz-button" title="Google Buzz"
  data-message="{your_message}"
  data-url="{your_url}"
  data-locale="en"
  data-button-style="normal-count"></a>
<script type="text/javascript" src="http://www.google.com/buzz/api/button.js">
</script>

There is also documentation for the full REST API.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文