Advertisement

07.19.2005 at 09:22AM PDT, ID: 21496868
[x]
Attachment Details

send email to multiple people with multiple attachments

Asked by glenn_1984 in FoxPro Database

Tags: multiple, email, send, people, attachments

We have found some good tech on sending email and attachments from within Foxpro 9.
We are also using MS Word for the spell checking.

1. Now we need to the ability to send email to multiple people.  Adding a comma or semi colon and a second email does not work.

2. We also need to the ability to send multiple attachments. Can we spin something off of the code below from another question?

#DEFINE CdoMailFormatMime 0 && MIME format.  
#DEFINE CdoMailFormatText 1 && Uninterrupted plain text (default value).  
#DEFINE CdoBodyFormatHTML 0 && The Body property is to include HTML.  
#DEFINE CdoBodyFormatText 1 && The Body property is to be exclusively in plain text (default value).  
LOCAL oEmail
oEmail = CREATEOBJECT("CDONTS.NewMail")
oEmail.From = cFromName + " <" + cFromEmail + ">"
oEmail.To = cToName + " <" + cToEmail + ">"
oEmail.Cc = cCcName + " <" + cCcEmail + ">"
oEmail.Bcc = cBccName + " <" + cBccEmail + ">"
oEmail.Subject = cSubject
oEmail.Body = cBody
oEmail.MailFormat = cdoMailFormatMIME
oEmail.BodyFormat = cdoBodyFormatHTML
oEmail.AttachFile(cFileName)
oEmail.AttachURL(cURL)
oEmail.Send
RELEASE oEmailStart Free Trial
[+][-]07.19.2005 at 12:35PM PDT, ID: 14478697

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: FoxPro Database
Tags: multiple, email, send, people, attachments
Sign Up Now!
Solution Provided By: CaptainCyril
Participating Experts: 3
Solution Grade: A
 
 
[+][-]07.19.2005 at 01:30PM PDT, ID: 14479210

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.19.2005 at 09:24PM PDT, ID: 14481538

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.21.2005 at 07:53PM PDT, ID: 14499281

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.24.2005 at 06:34PM PDT, ID: 14515564

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.17.2006 at 11:36AM PDT, ID: 16702089

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]05.21.2006 at 01:12AM PDT, ID: 16727485

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32