Perhaps you can do this with scripting, but I don't know scripting (not yet).
I don't know a way to do this automatically, but I do know that you can manually change the from address. This will mean you will need to do two runs, one for each group of customer (group being who the ""from"" address is sent). You can control the group with a udf or customer number or division, etc. I'm going to assume for this example that you will create UDF so it is in the selection window.
There's a few ways to do this. The easiest is to leave the from address blank in the form maintenance setup screen. Then, when you go to run the invoices, you will need to (that is, Sage will REQUIRE you to) click the electronic delivery icon button. Enter
email1@xxx1.com as the return email address and select by your UDF. Do this a second time, change the from address and select group 2. The form will remember the last from address, so remember to change it for each run..
Or, (I like this much better) you can have two forms, each one set up with it's own ""from address"" Run form 1 and select for group 1, then run form 2 and select from group 2 (remember to ""print invoices already printed"" The system will remember the last from address.
I set the last suggestion up for customers who send out Acknowledgements (Sales orders), and want them to come directly from the person sending the document. Each rep will have his own form with his own email address.
Roberta
PS Remember to not use form STANDARD!