如何单独从数据库向多个收件人发送电子邮件 [英] How to send e-mail to multiple recipients from database individually

查看:170
本文介绍了如何单独从数据库向多个收件人发送电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我现在一次发送多个电子邮件收件人是否可以单独发送?请帮忙谢谢。

hi i''m currently sending multi email recipients in one go is it possible to send it individually? please help thank you.

展开 | 选择 | Wrap | 行号

推荐答案

发布代码时请使用代码标签或格式化数据。


而不是将所有电子邮件地址附加在一起,将邮件内容移动到循环中。
Please use code tags when posting code or formatted data.

Instead of appending all the email addresses together, move the mail stuff into your loop.


hi兔子感谢您的帮助,但是没有解决我的问题它仍然显示所有电子邮件收件人发送到的电子邮件,我希望每个客户只看到他们打开电子邮件时发送电子邮件


例如:来自:<一个人=mailto:newsletter@yoursite.com> newsletter@yoursite.com 和收件人: customer@whatever.com



发件人: newsletter@yoursite.com

收件人:< a href =mailto:customer@whatever.com> customer@whatever.com , customer2@whatever.com customer3@whatever.com customer4@whatever.com
hi Rabbit thanks for help but that did not fix my problem its still showing all the email recipients that the emails where sent to, i want every customer to see only they email when they open the email

example: From: newsletter@yoursite.com and To: customer@whatever.com


instate of From: newsletter@yoursite.com
To: customer@whatever.com, customer2@whatever.com, customer3@whatever.com, customer4@whatever.com.


请显示新代码。


这篇关于如何单独从数据库向多个收件人发送电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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