Gary Jeurink wrote on 2014-08-03: 
>  A long time ago you guys gave me a snipit that sent mail from a button
>  click.
>  
>  IF venders2.email > " "
>    lcMail = "mailto:"+ venders2.email
>    
>    ShellExecute(0,"open",lcMail,"","",1)
>  ENDIF
> 
> 
>  Now I have a wrinkle. How can I give the option to send from,
>  
>  1.   default outlook account
>  2.   from a gmail account
>  3.   from a yahoo account
>  
>  I am assuming it will be a multi argument to a web address probably using
>  
>  user name, password, destination address, subject, content.
>  
>  I'm pretty good in html and getting there in php.
> 
> 
> 
> 
>  Gary Jeurink
>  
>  http://www.shopgi.com
>  
>  http://www.nebraskatwisters.com
>  
>  http://www.garyjeurink.com
> 

Gary,

Since gmail and yahoo are web services, the account would probably need to
be already logged in. A quick search for "gmail url parameters compose"
turned up this link for Google.
http://justingale.com/2013/06/more-gmail-tricks-for-sending-emails-and-canne
d-responses/

this link actually covers both and additionally Hotmail.

http://stackoverflow.com/questions/4982702/what-is-the-format-of-compose-lin
ks-to-web-mail-clients-such-as-gmail-yahoo-mai

Instead of your mailto:  you'll use the bits needed from the url's replacing
the &to=??? with "&to=" + alltrim(venders2.email)

HTH,
Tracy



Tracy Pearson
PowerChurch Software


_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/000401cfafe7$20a9d160$61fd7420$@powerchurch.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to