Attachments via email

K

Kevin

I am not exactly sure what your trying to do here, so I
will give you two options.

If your trying to send an e-mail only to one person at a
time, but the person could be different each time, the
problem is not that hard. In the VB SendObject command,
one of the parameters is for an e-mail address. You would
need a form with person information of some sort on the
form. With the record for the person desired selected on
this form, initiate the sendobject command and send the e-
mail address to the appropriate sendobject parameter.

If your trying to send the e-mail to multiple people, you
would need to build a string variable and concatenate the
addresses into this string so the string would be a legal
address string for your e-mail software. You would need
some sort of loop for this. For my email software the
string is comma delimited so the string would look
something like this:

(e-mail address removed), (e-mail address removed), ...etc.

When the string is complete and all names have been added,
call the sendobjects command and pass in this string.

Without knowing more, it's hard for me to help anymore.

I hope this helps.

Kevin

after you have assembled
 
S

Stefan Buijs

Hello Kevin,
If your trying to send an e-mail only to one person at a
time, but the person could be different each time, the
problem is not that hard. In the VB SendObject command,
one of the parameters is for an e-mail address. You would
need a form with person information of some sort on the
form. With the record for the person desired selected on
this form, initiate the sendobject command and send the e-
mail address to the appropriate sendobject parameter.

If your trying to send the e-mail to multiple people, you
would need to build a string variable and concatenate the
addresses into this string so the string would be a legal
address string for your e-mail software. You would need
some sort of loop for this. For my email software the
string is comma delimited so the string would look
something like this:

(e-mail address removed), (e-mail address removed), ...etc.

When the string is complete and all names have been added,
call the sendobjects command and pass in this string.

Without knowing more, it's hard for me to help anymore.

I will send an email to more than one person each time.

Also I want to attach pictures (mix 1 and max 5 pictures) to this email.
I do have an email function in the database and have to send several times
to
different email addresses.
What I can't do now is attach the pictures from out of the database.

Stefan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top