ASPEmail发送给多个收件人? [英] ASPEmail to send to multiple recipients?

查看:100
本文介绍了ASPEmail发送给多个收件人?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI,


ASPEmail发送给多个收件人?

我试过用逗号和分号但是一直都给这个帖子

错误:

错误:6 - 501错误的地址语法


也不是:email @ dom,email @ dom,email @ dom

或:email @ dom; email @ dom; email @ dom


什么是sintaxe?

我只能发送给一个接收者的时间?


谢谢,


VILMAR

解决方案

您是否多次尝试使用.addAddress?


-

Aaron Bertrand

SQL Server MVP http://www.aspfaq.com/



" news.microsoft.com" <苏***** @ hitecnet.com.br>在消息中写道

news:u1 ************** @ TK2MSFTNGP11.phx.gbl ...

HI,
ASPEmail发送给多个收件人?
我试过用逗号和分号但是一直都给这条消息
错误:
错误:6 - 501错误的地址语法或:email @ dom; email @ dom; email @ dom

什么是sintaxe for it ?
我是否只能按时间收到一位收件人?

谢谢,

VILMAR



不,我不是!

我只想使用一次并用逗号分隔很多邮件(,)或

分号(; )!

aspemail组件中的sintax怎么样?

谢谢,


VILMAR

* *****************


" Aaron Bertrand - MVP" < AA *** @ TRASHaspfaq.com> escreveu na mensagem

新闻:em ************** @ TK2MSFTNGP09.phx.gbl ...

您尝试过使用过吗? addAddress多次?

- Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/

" news.microsoft.com" <苏***** @ hitecnet.com.br>在消息中写道
新闻:u1 ************** @ TK2MSFTNGP11.phx.gbl ...

HI,
ASPEmail发送给多个收件人?
我试图用逗号和分号但是一直都给这个帖子
错误:
错误:6 - 501错误的地址语法

也不是:发送电子邮件@ dom,发送电子邮件至@ dom,发送电子邮件至@ dom
或:发送电子邮件至@ dom;发送电子邮件至@ dom;发送电子邮件至@ dom

对于它来说什么是sintaxe?我可以只按时间发送一位收件人吗?

谢谢,

VILMAR




>不,我不是!

我只想使用一次并用逗号分隔很多邮件(,)或
分号(;)!


这就是它最终会如何结束,但许多组件要求单独添加地址

,无论你想要使用什么。

aspemail组件中的sintax怎么样?




好​​了,你又一次尝试过:


mailObject.AddAddress" em *** @ one.com"

mailObject.AddAddress" em *** @ two.com"


-

Aaron Bertrand

SQL Server MVP
http://www.aspfaq.com/


HI,

ASPEmail to send to multiple recipients?
I tried to use comma and semicolon but all the time give this message
error:
Error: 6 - 501 Bad address syntax

nor : email@dom,email@dom,email@dom
or: email@dom;email@dom;email@dom

what is the sintaxe for it?
can I only send for one recipient by time?

thanks,

VILMAR

解决方案

Did you try using .addAddress multiple times?

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"news.microsoft.com" <su*****@hitecnet.com.br> wrote in message
news:u1**************@TK2MSFTNGP11.phx.gbl...

HI,

ASPEmail to send to multiple recipients?
I tried to use comma and semicolon but all the time give this message
error:
Error: 6 - 501 Bad address syntax

nor : email@dom,email@dom,email@dom
or: email@dom;email@dom;email@dom

what is the sintaxe for it?
can I only send for one recipient by time?

thanks,

VILMAR



no, i am not!
I only want to use once and separate a lot of mail with comma(,) or
semicolon(;) !
How is the sintax in aspemail component?
thanks,

VILMAR
******************

"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> escreveu na mensagem
news:em**************@TK2MSFTNGP09.phx.gbl...

Did you try using .addAddress multiple times?

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"news.microsoft.com" <su*****@hitecnet.com.br> wrote in message
news:u1**************@TK2MSFTNGP11.phx.gbl...

HI,

ASPEmail to send to multiple recipients?
I tried to use comma and semicolon but all the time give this message
error:
Error: 6 - 501 Bad address syntax

nor : email@dom,email@dom,email@dom
or: email@dom;email@dom;email@dom

what is the sintaxe for it?
can I only send for one recipient by time?

thanks,

VILMAR




> no, i am not!

I only want to use once and separate a lot of mail with comma(,) or
semicolon(;) !
That is how it will end up, but many components require that addresses are
added individually, regardless of what you "want to use."
How is the sintax in aspemail component?



Well, once again, did you try:

mailObject.AddAddress "em***@one.com"
mailObject.AddAddress "em***@two.com"

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


这篇关于ASPEmail发送给多个收件人?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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