Re: need help with this send mail script

From: Ricky (newsgroupsmail_at_gmail.com)
Date: 01/08/05


Date: Sat, 8 Jan 2005 22:33:48 -0000


    Hi

Thanks for the tip... I'll try it and tell if it works..

Thanks
Nuno

"Glen Scales [MVP]" <gscales@outlookexchange.com> wrote in message
news:OAd$xeh8EHA.1396@tk2msftngp13.phx.gbl...
> You can only have one value for the sender (eg the sending email address
of
> the sender "By convention (RFC 822), multiple addresses are not identified
> in the Sender property". ) so you may want to consider creating 3 separate
> scripts or a least 3 different message objects within your script. You
also
> need to use a configuration object to specify which server you want to
send
> it through. eg
>
> Set objMessage = CreateObject("CDO.Message")
> objMessage.Subject = "Testing incoming / outgoing domain email"
> objMessage.From = "exchangeServer_1@helpme.com"
> objMessage.To = "whoever@helpme.com"
> objMessage.TextBody = "Email Test"
>
objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/confi
guration/sendusing")
> = 2
>
objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/confi
guration/smtpserver")
> = "servername"
>
objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/confi
guration/smtpserverport")
> = 25
> objMessage.Configuration.Fields.Update
> objMessage.Send
>
> Cheers
> Glen
>
>
>
> "Nuno" <nop51639@mail.telepac.pt> wrote in message
> news:eWHeqbf7EHA.3840@tk2msftngp13.phx.gbl...
> > Hi There,
> >
> > I've write the script bellow that should send a email from 3 Exchange
> > Servers and 1 email account from outside the domain
> > at the same time. The purpose of this script is to check if the Exchange
> > Servers are receiving and sending emails to and outside the domain with
no
> > problems. So we could answer faster until the users call us with this
kind
> > of problems.
> >
> > Can someone help me?...
> >
> > Thanks
> > Nuno
> >
> >
> > Set objMessage = CreateObject("CDO.Message")
> > objMessage.Subject = "Testing incoming / outgoing domain email"
> > objMessage.Sender = "exchangeServer_1@helpme.com;
> > exchangeServer_2@helpme.com; exchangeServer_3@helpme.com;
> > externalEmailAccount@givemeatip.com"
> > objMessage.To = "exchangeServer_1@helpme.com;
exchangeServer_2@helpme.com;
> > exchangeServer_3@helpme.com; externalEmailAccount@givemeatip.com"
> > objMessage.TextBody = "Email Test"
> > objMessage.Send
> >
> >
> >
> >
>
>



Relevant Pages

  • Re: How to send E-mail without an external SMTP server ?
    ... you're sending email using external server. ... I want to find a way to send email without an external smtp server. ... Actually I was writing a script that can submit jobs automatically on a remote server. ... I should not submit the jobs all at once, because this will take up all resources of the server. ...
    (comp.lang.python)
  • Re: calling vbs scripts from a scheduled task doesnt work all the time
    ... - sending email via Outlook automation (reason: ... - accessing files via UNC paths (reason: any UNC reference is treated as ... To determine why a specific script fails to work as expected as a ...
    (microsoft.public.scripting.wsh)
  • Re: email sent????
    ... but couldn't you create a field (EmailSent) and then as last step ... of the script that actualy sent the mail use a setfield to put a x in this ... I have no experience with sending email through filemaker, ... I have implemented this but the problem was that once filemaker created the ...
    (comp.databases.filemaker)
  • Re: email sent????
    ... email layout and using global fields as the email text and subject to copy ... into a send mail script with the no dialog box ticked ... I have no experience with sending email through filemaker, ...
    (comp.databases.filemaker)
  • RE: Sending Email from script
    ... Subject: Sending Email from script ... I re-configured Exim and posted the settings I selected. ...
    (Debian-User)