Sending e-mail from FWPPC app

Sending e-mail from FWPPC app

Postby kadziola » Tue Aug 24, 2010 7:00 am

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
kadziola
 
Posts: 26
Joined: Tue May 11, 2010 7:26 am

Re: Sending e-mail from FWPPC app

Postby kadziola » Fri Sep 03, 2010 9:49 am

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
kadziola
 
Posts: 26
Joined: Tue May 11, 2010 7:26 am

Re: Sending e-mail from FWPPC app

Postby Antonio Linares » Sat Sep 04, 2010 9:18 am

Jaroslaw,

Many thanks for sharing your solution with us :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 7 guests

cron