Possible to email to multiple addresses?

19 views
Skip to first unread message

BikeMike

unread,
Sep 25, 2009, 9:20:56 AM9/25/09
to Bots Open Source EDI Translator
Hi,
I have tried sending emails to multiple addresses without any luck. (I
entered the addresses with a database editor to bypass validation
check just for testing).

Tried comma or space or semicolon between addresses.

The first address always gets the email, and the other addresses are
visible in the "to" address list in the header... but they never get
the mail.

Not sure how mail works, is it the server that sends the multiple
copies, or must the client (Bots) handle it somehow? Is there a
special format for a list of addresses?

Kind regards,
Mike

hjeb...@gmail.com

unread,
Sep 25, 2009, 9:26:06 AM9/25/09
to bots...@googlegroups.com
Hi mike,

I will take a look at it.

kind regards,
henk-jan

hjeb...@gmail.com

unread,
Sep 25, 2009, 8:19:19 PM9/25/09
to bots...@googlegroups.com
Hi Mike,

first of all: I think if Bots would be able to do this.

to send a mail to multiple recievers, what needs to be adapted is:
- in email header
- sending by smtp (this is what does the actual sending to multiple
receivers)
this is in itself quite easy.

but how should this be indicated in bots?
as you noticed, the email field is checked now to for one email address
in the GUI.
which is a good check.
I could introduce multiple email fields in the email tabel, or use
multiple records.
in both cases the database would have to be changed. at the moment I don
not wnat to make changes in the dtabase.

a 'upward compatibele' workaround would be to add multiple addresses
using a user exit in a route. the database can stay the same for now,
while you cna still use the multiple addresses.

would this be a good solution? let me know how you think about this.

kind regards,
henk-jan ebbers

BikeMike

unread,
Sep 27, 2009, 7:55:28 AM9/27/09
to Bots Open Source EDI Translator
Hi Henk-jan,
I had hoped it would just work with multiple email addresses in the
one database field. I only needed two so the 256 character limit would
have been ok. It's not really a big issue for me, I was just going to
use it for a new partner setup this week so a copy of the email went
to myself also. Not worth a database mod I don't think.

I even tried adding myself as a CC address by modifying
communication.py and hard-coding it, but had the same issues, the mail
header *looks* ok to me but the mail is not sent to the CC address.

If you want to consider a future mod that's fine, maybe it could be
useful for others. I think having a comma separated list of addresses
in one field makes sense, that's how you do it in many email clients.
Maybe just need to increase the field size to say 1024 and fix the
field validation to parse the list.

Kind regards,
Mike
Reply all
Reply to author
Forward
0 new messages