Page 1 of 1

Sending e-mail from FWPPC app

PostPosted: Tue Aug 24, 2010 7:00 am
by kadziola
Hi all,

Is any chance to send e-mail directly from FWPPC app ?
I'm trying with win_mapisendmail() but function return -1.

With mapisendmail() i get compilation errors :
FiveCEC.lib(MAPI.obj) : error LNK2019: unresolved external symbol GetProcAddress referenced in function HB_FUN_MAPILOGON
FiveCEC.lib(MAPI.obj) : error LNK2019: unresolved external symbol _bset referenced in function HB_FUN_MAPISENDMAIL
rzm.exe : fatal error LNK1120: 2 unresolved externals
* Linking errors *

Regards
Jaroslaw Kadziola

Re: Sending e-mail from FWPPC app

PostPosted: Fri Sep 03, 2010 9:49 am
by kadziola
Hi,

My semi-solution for message with attach file '\My Documents\ll.txt' :

:For Windows Mobile 5 and 6
Code: Select all  Expand view
link_file  = ' 150# "\Windows\tmail.exe" "-attach "\My Documents\ll.txt" -to "address@any.com" -subject "Subject" -body "Body text" -service "Account_name"" '
MemoWrit(CurDir() + '\zamawiam.lnk',link_file)
ShellExecute( , "open", CurDir() + "\zamawiam.lnk", NIL )
 


:For Windows Mobile 6.5
Code: Select all  Expand view
link_file  = ' 19#:MSINBOX "-attach "\My Documents\ll.txt" -to "address@any.com" -subject "Subject" -body "Body text" -service "Account_name"" '
MemoWrit(CurDir() + '\zamawiam.lnk',link_file)
ShellExecute( , "open", CurDir() + "\zamawiam.lnk", NIL )
 


Regards
Jaroslaw Kadziola

Re: Sending e-mail from FWPPC app

PostPosted: Sat Sep 04, 2010 9:18 am
by Antonio Linares
Jaroslaw,

Many thanks for sharing your solution with us :-)