Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/email/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Email 使用Invantive SQL通过Office 365 smtp发送邮件_Email_Invantive Sql_Invantive Data Hub - Fatal编程技术网

Email 使用Invantive SQL通过Office 365 smtp发送邮件

Email 使用Invantive SQL通过Office 365 smtp发送邮件,email,invantive-sql,invantive-data-hub,Email,Invantive Sql,Invantive Data Hub,我正在尝试使用Inventive数据中心通过以下查询发送电子邮件(密码和用户名已编辑) 这将导致以下错误: Uitroep itgendhb077: Error in Invantive Data Hub. The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.57 SMTP; Client was not authenticat

我正在尝试使用Inventive数据中心通过以下查询发送电子邮件(密码和用户名已编辑)

这将导致以下错误:

Uitroep itgendhb077: Error in Invantive Data Hub.
The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM [DB6P191CA0024.EURP191.PROD.OUTLOOK.COM]
用户名/密码正确(已检查),是否有方法触发Invantive Data Hub使用安全连接


我使用了LinkedIn post的smtp语法。

从Invantive SQL发送电子邮件有时会很困难。在您的情况下,我推荐以下解决方案之一:

  • 将发起SMTP请求的服务器列为可信地址,以交换在本地网络外部中继邮件(如果允许进行配置)和允许(传输不安全)SMTP端口25连接
  • 或者使用安全交换
第一个是系统管理员任务;通过在
smtp@mail

此字段
启用SSL
已于2017年7月及更高版本中提供。字段的完整列表为:

  • B电子邮件
  • 身体
  • 电子邮件
  • 来自电子邮件
  • fromName
  • 标题
  • isBodyHtml
  • 最小交货期毫秒
  • 优先权
  • 回复电子邮件
  • 回复名
  • smtpHostAddress
  • smtpHostPortNumber
  • smtpPassword
  • smtpUserName
  • 主题
  • 电子邮件
更多邮件字段 请注意,
插入到smtp@mail
有更多可用字段,例如:

insert into Smtp@Mail 
(headers, fromEmail, fromName, replyToEmail, replyToName, toEmail, ccEmail, bccEmail, subject, body, isBodyHtml, priority, smtpHostAddress, smtpUsername, smtpPassword) 
values 
( 'X-SAMPLE:Y;X-SAMPLE2:Z'
, 'someone@somewhere'
, 'Test'
, 'me@home'
, 'Test'
, 'me@home'
, ''
, ''
, 'Ubersicht Rechnungen (HTML) [s-unittest]'
, '<p>Sehr geehrte Damen und Herren,</p>'
       || '<p>Um Ihnen unnötiges Nachhalten offener Rechnungen zu ersparen, informieren wir Sie mit diesem Schreiben über Ihr Konto bei ACME.</p>'
       || '<p>Wir wünschen Ihnen viel Erfolg bei Ihren Geschäften.</p>'
       || ' <p>Mit freundlichen Grüßen,</p>'
       || ' <p><b>Invantive GmbH</b></p>'
, 'true'
, -1
, 'smtp.server.address'
, 'some-user'
, 'some-password'
)
插入到Smtp@Mail 
(标题、fromEmail、fromName、replyToEmail、replyToEmail、ccEmail、bccEmail、主题、正文、isBodyHtml、优先级、smtpHostAddress、smtpUsername、smtpPassword)
价值观
('X-样本:Y;X-样本2:Z'
, 'someone@somewhere'
“测试”
, 'me@home'
“测试”
, 'me@home'
, ''
, ''
,“Ubersicht Rechnungen(HTML)[s-unittest]”
“Sehr geehrte Damen and Herren,

” ||“如果你能提供一份最新的信息,你就可以把它放在最重要的位置。

” ||“我们的生活是怎样的呢?” ||“Mit freundlichen Grüßen,

” ||“Invantive GmbH

” “真的” , -1 ,'smtp.server.address' ,“某些用户” ,“某些密码” )
例如,要包含附件,请使用字段
attachmentContents
attachmentName
attachmentMimeType
。通过查询
systemtablecolumns@datadictionary
或当光标位于
smtp@mail
text

默认值 您不必在
insert-in中指定所有值smtp@mail
。您可以从settings.xml连接字符串或通过
set
语句为许多选项设置默认值

可用选项可以使用类似于
select*from的查询systemdatacontainerattributes@datadictionary
或在
系统提供属性上

  • smtp最小传递持续时间ms
    :smtp发送完成时间早于最小值时,smtp发送加上插入睡眠的最小传递持续时间(毫秒)
  • smtp发送超时ms
    :smtp发送超时的毫秒数
  • smtp启用ssl
    :设置是否为smtp连接启用ssl
  • smtp密码
    :要进行身份验证的默认smtp密码
  • smtp用户名
    :要进行身份验证的默认smtp用户名
  • smtp主机端口号
    :要使用的默认smtp主机邮件号
  • smtp主机地址
    :要使用的默认smtp主机地址
  • 邮件优先级
    :邮件的优先级;负表示批量,0表示中性,正表示紧急
  • 邮件正文html
    :设置邮件正文是否为html
  • 邮件回复姓名
    :默认回复姓名
  • 邮件回复电子邮件
    :默认回复电子邮件地址
  • 邮件发件人姓名
    :默认发件人姓名
  • 来自电子邮件的邮件
    :来自电子邮件的默认地址
  • 请求前延迟毫秒
    :请求前延迟毫秒
  • invantive use cache
    :是否缓存查询结果
  • Inventive sql shuffle fetch results data containers
    :是否洗牌从数据容器中提取的结果
  • invantive sql将筛选器转发到数据容器
    :是否将筛选器转发到数据容器

从Invantive SQL发送电子邮件有时会很困难。在您的情况下,我推荐以下解决方案之一:

  • 将发起SMTP请求的服务器列为可信地址,以交换在本地网络外部中继邮件(如果允许进行配置)和允许(传输不安全)SMTP端口25连接
  • 或者使用安全交换
第一个是系统管理员任务;通过在
smtp@mail

此字段
启用SSL
已于2017年7月及更高版本中提供。字段的完整列表为:

  • B电子邮件
  • 身体
  • 电子邮件
  • 来自电子邮件
  • fromName
  • 标题
  • isBodyHtml
  • 最小交货期毫秒
  • 优先权
  • 回复电子邮件
  • 回复名
  • smtpHostAddress
  • smtpHostPortNumber
  • smtpPassword
  • smtpUserName
  • 主题
  • 电子邮件
更多邮件字段 请注意,
插入到smtp@mail
有更多可用字段,例如:

insert into Smtp@Mail 
(headers, fromEmail, fromName, replyToEmail, replyToName, toEmail, ccEmail, bccEmail, subject, body, isBodyHtml, priority, smtpHostAddress, smtpUsername, smtpPassword) 
values 
( 'X-SAMPLE:Y;X-SAMPLE2:Z'
, 'someone@somewhere'
, 'Test'
, 'me@home'
, 'Test'
, 'me@home'
, ''
, ''
, 'Ubersicht Rechnungen (HTML) [s-unittest]'
, '<p>Sehr geehrte Damen und Herren,</p>'
       || '<p>Um Ihnen unnötiges Nachhalten offener Rechnungen zu ersparen, informieren wir Sie mit diesem Schreiben über Ihr Konto bei ACME.</p>'
       || '<p>Wir wünschen Ihnen viel Erfolg bei Ihren Geschäften.</p>'
       || ' <p>Mit freundlichen Grüßen,</p>'
       || ' <p><b>Invantive GmbH</b></p>'
, 'true'
, -1
, 'smtp.server.address'
, 'some-user'
, 'some-password'
)
插入到Smtp@Mail 
(标题,来自电子邮件,fr