FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveMac / FivePhone (iPhone, iPad) send mail
Posts: 166
Joined: Wed Nov 25, 2015 07:13 PM
send mail
Posted: Fri May 25, 2018 04:48 PM
Hello,
I wanted to test the mail example, but that gave some errors. Can you please revice this
Code (fw): Select all Collapse
Undefined symbols for architecture x86_64:
  "_HB_FUN_MAILADDATTACH", referenced from:
      _symbols_table in libfive.a(mail.o)
  "_HB_FUN_MAILCREATE", referenced from:
      _symbols_table in libfive.a(mail.o)
  "_HB_FUN_MAILSEND", referenced from:
      _symbols_table in libfive.a(mail.o)
  "_HB_FUN_MAILSETFROM", referenced from:
      _symbols_table in libfive.a(mail.o)
  "_HB_FUN_MAILSETMSG", referenced from:
      _symbols_table in libfive.a(mail.o)
  "_HB_FUN_MAILSETSUBJECT", referenced from:
      _symbols_table in libfive.a(mail.o)
  "_HB_FUN_MAILSETTO", referenced from:
      _symbols_table in libfive.a(mail.o)
Kind regards,



René Koot
Posts: 1516
Joined: Thu May 27, 2010 02:06 PM
Re: send mail
Posted: Tue May 29, 2018 09:49 PM

missing by linking mailer.m in the makefile.
added , mailer.m throws deprecated errors. we will have to review the module.
made test as it is sent the mail but not the attached file.
Saludos.

Posts: 1516
Joined: Thu May 27, 2010 02:06 PM
Re: send mail
Posted: Sun Jun 03, 2018 01:50 PM

I have reviewed the matter...I will try to explain the situation
Apple in an attempt to improve security to made sandbox in their applications.
One application can not automatically send messages with attachments without the supervision of a user,for security reasons.
Before this we have 2 options :
1.-Put code to send messages automatically but without attachments.
2.- Put code that compose the message and attach the files, open the Composer Mail window to wait for the user to press the send button.

I think the best option is the second but I guess it will depend on the needs of each one.
I'll be waiting for your answers.

Saludos.

Posts: 166
Joined: Wed Nov 25, 2015 07:13 PM
Re: send mail
Posted: Tue Jun 05, 2018 09:41 PM

Hello Mastintin,
Thanks for reviewing. For my app, I think I need the second option, but will this work with every mail program a user has. I use Thunderbird for all my mail and not the mail program delivered by Apple.

If this is possible, it would be very handsome.

Kind regards,



René Koot

Continue the discussion