Hi guys
I am using Access 2010
I have a form to register deliveries to customers
ui would like to be able to do the following
1.- Have Access open an Outlook message window
2.- Popuilate the To: field with the shipping agency's email address (can be different shipping agencies, in each shipment we choose the agency from an existing table which contains the email address of each one)
3.- populate the Subkect fiel with "Pickup Notice # [ShipmentNumber]" whee [ShipmentNumber] is a control on the form
4.- Populate de body of the message wit some text and values from different records, such as
Dear [ShipAgentContact]
Please arrange pickup opf shipent # [ShipmentNumber]
There are [ShippedParcelss] parcels to pick up.
The pickup adress is asfollows:
[ShipFromName]
[ShipFrom Address1]
[ShipFromAddress2]
[ShipFromPostcode[ & [ShipFromCity]
[ShipFromContactName]
[ShipFromContactPhone]
The delivery address is as follows
[ShipToName]
[ShipToAddress1]
[ShipToAddress2]
[ShipToPostcode[ & [ShipToCity]
[ShipToContactName]
[ShipToContactPhone]
Thanks and best regards
[Sendername]
[SenderPhone]
Is this possible? Can anyone provide code I can modigy to do it?- Currently I use SendObject and send a report in PDF format but it would be much better not to send any attachment and put the information in the message body instead.
Any help will be greatly appreciated
many thanks!
I am using Access 2010
I have a form to register deliveries to customers
ui would like to be able to do the following
1.- Have Access open an Outlook message window
2.- Popuilate the To: field with the shipping agency's email address (can be different shipping agencies, in each shipment we choose the agency from an existing table which contains the email address of each one)
3.- populate the Subkect fiel with "Pickup Notice # [ShipmentNumber]" whee [ShipmentNumber] is a control on the form
4.- Populate de body of the message wit some text and values from different records, such as
Dear [ShipAgentContact]
Please arrange pickup opf shipent # [ShipmentNumber]
There are [ShippedParcelss] parcels to pick up.
The pickup adress is asfollows:
[ShipFromName]
[ShipFrom Address1]
[ShipFromAddress2]
[ShipFromPostcode[ & [ShipFromCity]
[ShipFromContactName]
[ShipFromContactPhone]
The delivery address is as follows
[ShipToName]
[ShipToAddress1]
[ShipToAddress2]
[ShipToPostcode[ & [ShipToCity]
[ShipToContactName]
[ShipToContactPhone]
Thanks and best regards
[Sendername]
[SenderPhone]
Is this possible? Can anyone provide code I can modigy to do it?- Currently I use SendObject and send a report in PDF format but it would be much better not to send any attachment and put the information in the message body instead.
Any help will be greatly appreciated
many thanks!