Coldfusion CFMAIL和sendgrid [英] Coldfusion CFMAIL and sendgrid

查看:205
本文介绍了Coldfusion CFMAIL和sendgrid的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在同一台服务器上有两个客户端,我们都通过sendgrid.com发送电子邮件(两者都有自己的帐户)。

I have 2 clients on the same server that I host, that both send email through sendgrid.com (both have their own accounts).

报告了sendgrid,并注意到客户端1的类别出现在客户端2的报告中。

I was looking at reports on sendgrid and noticed that categories from "client 1" were showing up in a report for "client 2".

我在sendgrid上花了大量时间在电话上告诉我,来自客户端1的批次3000的一小部分电子邮件65显示为通过客户端2的认证用户发送。

I spent extensive time on the phone with sendgrid and they are telling me that a handful of emails 65 from a batch of 3000 for "client 1" show as being sent through "client 2"'s authenticated user.

在我的脚本,我使用coldfusion cfmail和我指定SMTP地址,该客户端的用户名和密码到标签。

In my scripting, I use coldfusion cfmail and I specify the SMTP address, username and password for that client into the tag.

一个可能的理论考虑到维护连接到邮件服务器复选框。

A possible theory takes into account the "Maintain connection to mail server" check box under mail in the administrator.

选择此复选框可保持与邮件服务器的连接打开,以便在发送邮件后重复使用(推荐)。

"Select this check box to keep the connection to a mail server open for reuse after delivering a message (recommended)."

如果两个客户端同时发送电子邮件(非常可能),coldfusion邮件假脱机引擎会根据服务器/用户名和密码将它们分开,或者通过到当前打开的邮件服务器?

If both clients send email at the same time (very much possible) would the coldfusion mail spooling engine separate them out based on server/username and password or send them all through to the mail server that is currently open?

如果我取消选中维护连接到邮件服务器复选框...资源有什么不足?

If I uncheck the maintain connection to mail server checkbox... what is the downside on resources? my clients send newsletters and transactional emails all day, maybe about 10k each client.

推荐答案

我最终修改了我的DNS设置服务器,添加一个指向smtp地址的cname smtp.sendgrid.net。然后我更新了我的代码以使用新的服务器名称,这似乎是分开的连接。

I ended up modifying the DNS settings in my servers, adding a cname that pointed to the smtp address, smtp.sendgrid.net. I then updated my code to use the new server names, and this seems to be separating the connections.

这篇关于Coldfusion CFMAIL和sendgrid的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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