Re: Error with Multiple Recipients on .SendMail

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Chaplain Doug (ChaplainDoug_at_discussions.microsoft.com)
Date: 12/27/04


Date: Mon, 27 Dec 2004 10:49:09 -0800

I read a response to a similar post in this forum. I assign the multiple
addresses to an array and pass the array (array()) to .SendMail in the
Recipients slot. Thanks.

"Ron de Bruin" wrote:

> Hi Chaplain
>
> See
> http://www.rondebruin.nl/mail/tips1.htm
>
>
> --
> Regards Ron de Bruin
> http://www.rondebruin.nl
>
>
> "Chaplain Doug" <ChaplainDoug@discussions.microsoft.com> wrote in message news:70CFD515-A07F-4DAA-887C-2A35D77F28B5@microsoft.com...
> >I am getting an error when using multiple email addresses in the .SendMail
> > method. When for instance Recipients is "person1@xyz.net; person2@xyz,net"
> > in the following line:
> >
> > Wb.SendMail Recipients, Subject + " " + Wb.Name, True
> >
> > I get the message:
> >
> > Runtime Error '1004'
> > Unknown recipient name found in recipient list. Use valid name and try again.
> >
> > The names (addresses) I am usgin are valid. And the command works with just
> > one recipient. It is when I specify two recipients that I get the error.
> > Thanks for the help.
> >
> >
>
>
>



Relevant Pages

  • string to array
    ... please help me with converting string to an array: ... Ako ste ovu poruku primili gre¹kom i nije vam namijenjena, ... Distribucija, kopiranje i otvaranje privitaka je strogo zabranjeno. ... recipient and may contain legally privileged or confidential information. ...
    (alt.php)
  • RE: Using SendMail through Access - Excel Automation
    ... to separate my string of email addresses into components within the array I ... If strpos = 0 Then ... the Email field only contains the email address of one ... an error stating "Unknown recipient name found in the recipient list." ...
    (microsoft.public.excel.programming)
  • Re: Multiple Recipients in SendMail Method. HELP!!!
    ... Regards ... >> I am not attempting to add another recipient, ... >> array of text strings if there are multiple recipients. ... >> John Baker ...
    (microsoft.public.excel.programming)
  • Question about references
    ... I have a question about refrences. ... I know if you have a function that returns an array and you designate ... it and its recipient by "at" signs the reference is included. ... Prev by Date: ...
    (comp.lang.php)