Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Delphi Misc > Sending email v...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 5960 of 6114
Post > Topic >>

Sending email via GMail

by "Mark Warren" <mark.warren@[EMAIL PROTECTED] > Jan 16, 2008 at 05:06 PM

I have the following code in a program and it has worked for years, first 
with Outlook Express and for the last two years with GMail being my email 
program.  While the Body has never been inserted into the new email, the 
recpient and subject have.  Recently, however, a new Gmail screen opens
but 
finishes with a blank page with none of the usual email input areas.  I 
assume this something that the GMail folks have changed - if I right-click

on a mailto: link in a GMail message and select the "Open Link in a 
Foreground Tab" the same behavior occurs.

If anyone has some insight into resolving this please let me know.

********************************
function SimpleMailMessage(Recipient, Subject, Body: string): HINST; var 
Cmd: string;
begin
  Cmd := Format('mailto:%s?subject=%s&body=%s', [Recipient, Subject,
Body]);
  Result := ShellExecute(HInstance, 'open', PChar(Cmd), nil, nil, 
SW_SHOWNORMAL);
end;
*********************************

Regards,

Mark Warren
mark.warren@[EMAIL PROTECTED]

 




 2 Posts in Topic:
Sending email via GMail
"Mark Warren" &  2008-01-16 17:06:50 
Re: Sending email via GMail
"Maarten Wiltink&quo  2008-01-17 09:30:37 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 5:54:02 CDT 2008.