I am using the Shell Execute method for Mailto:<br>
<br>
stext="mailto:douglasp&Subject=Error From VB Program 11 Division by zero&Body=Put your Body Text here if needed"<br>
<br>
Call ShellExecute(Me.hwnd, "open", stext, vbNullString, vbNullString, SW_SHOWNORMAL)<br>
<br>
Which works great but it brings up the mail program and I have to press "send" to get it to go.<br>
Is there a parameter that can be added to the string so it will not stop.<br>
And just send the e-mail right out.<br>
<br>
In Access '97 this is done by putting a "False" at the end.<br>
DoCmd.SendObject acSendNoObject, "", acFormatTXT, Email, , , "Order Confirmation", EmailInfo, False<br>
<br>
TIA<br>
<p> DougP<br><a href=mailto: dposton@universal1.com> dposton@universal1.com</a><br><a href= > </a><br>
<br>
stext="mailto:douglasp&Subject=Error From VB Program 11 Division by zero&Body=Put your Body Text here if needed"<br>
<br>
Call ShellExecute(Me.hwnd, "open", stext, vbNullString, vbNullString, SW_SHOWNORMAL)<br>
<br>
Which works great but it brings up the mail program and I have to press "send" to get it to go.<br>
Is there a parameter that can be added to the string so it will not stop.<br>
And just send the e-mail right out.<br>
<br>
In Access '97 this is done by putting a "False" at the end.<br>
DoCmd.SendObject acSendNoObject, "", acFormatTXT, Email, , , "Order Confirmation", EmailInfo, False<br>
<br>
TIA<br>
<p> DougP<br><a href=mailto: dposton@universal1.com> dposton@universal1.com</a><br><a href= > </a><br>