Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MailTo:

Status
Not open for further replies.

DougP

MIS
Dec 13, 1999
5,985
US
I am using the Shell Execute method for Mailto:<br>
<br>
stext=&quot;mailto:douglasp&Subject=Error From VB Program 11 Division by zero&Body=Put your Body Text here if needed&quot;<br>
<br>
Call ShellExecute(Me.hwnd, &quot;open&quot;, stext, vbNullString, vbNullString, SW_SHOWNORMAL)<br>
<br>
Which works great but it brings up the mail program and I have to press &quot;send&quot; 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 &quot;False&quot; at the end.<br>
DoCmd.SendObject acSendNoObject, &quot;&quot;, acFormatTXT, Email, , , &quot;Order Confirmation&quot;, EmailInfo, False<br>
<br>
TIA<br>
<p> DougP<br><a href=mailto: dposton@universal1.com> dposton@universal1.com</a><br><a href= > </a><br>
 
Don't know - have you considered sendkeys - to push the button from within your VB program?<br>
<br>
Mike<br>
<p>Mike Lacey<br><a href=mailto:Mike_Lacey@Cargill.Com>Mike_Lacey@Cargill.Com</a><br><a href= Cargill's Corporate Web Site</a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top