什么是gmails外寄伺服器? [英] What is gmails outgoing server?

查看:86
本文介绍了什么是gmails外寄伺服器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

应该是什么服务器,以便我可以使用gmail发送电子邮件.

What should be the server so that I can send email using gmail.

@FROM           = N'joe@domain.com',
    @FROM_NAME      = N'Joe Mailman',
    @TO             = N'joe@domain.com',
    @replyto        = N'joe@domain.com',
    @CC             = N'',
    @BCC            = N'',
    @priority       = N'NORMAL',
    @subject        = N'Hello SQL Server SMTP Mail',
    @message        = N'Goodbye MAPI and Outlook',
    @messagefile    = N'',
    @type           = N'text/plain',
    @attachment     = N'',
    @attachments    = N'',
    @codepage       = 0,
    @server         = N'mail.domain.com' --> ???

推荐答案

您难道不希望Google比CodeProject更了解Google吗?

-SA
Should not you expect Google knows more about Google than CodeProject?

—SA


服务器为smtp.gmail.com.您需要查看google才能找到要使用的端口以及任何其他详细信息.
The server is smtp.gmail.com. You''ll need to look at google to find out what port and any other details you''ll need to make it work.


主机:smtp.gmail.com
端口:587

此处有更多详细信息:
使用带有附件的Gmail帐户发送电子邮件 [ ^ ]
通过SMTP发送具有Gmail,Yahoo,AOL和实时邮件的电子邮件 [
host: smtp.gmail.com
port: 587

More details here:
Send Emails with Gmail Account with Attachment[^]
Sending Email with Gmail, Yahoo, AOL, and Live Mail Via SMTP[^]


这篇关于什么是gmails外寄伺服器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆