access thread: Auto-sending email
Message #1 by "Ray Pinnegar" <r.pinnegar@b...> on Fri, 17 May 2002 00:14:56
|
|
Another quirk arising from upgrading to Windows XP, Office 2002 from W98 &
Office 2000:
When building an emailmessage and autofilling the body with text, on using
the .display method the draft email looks ok.
When clicking 'Send' to send the message to the Outbox it appears without
the body text.
However, when viewing the draft message at the .display stage, if you edit
the body text in any way e.g. add a full stop, then the message
subsequently transfers ok to the Outbox.
Anybody any ideas as I do want the process to be fuuly automated?
Message #2 by "Gregory Serrano" <SerranoG@m...> on Fri, 17 May 2002 13:56:42
|
|
Ray,
<< When building an emailmessage and autofilling the body with text, on
using the .display method the draft email looks ok. When clicking 'Send'
to send the message to the Outbox it appears without the body text. >>
For sending a simple message from a Access XP form using a command button,
use this construct:
DoCmd.SendObject acSendNoObject, , , {recipent text string}, , , {subject
text string}, {e-mail text string}, True
The text strings can be assigned variables.
Greg
|