send mail

send mail

Postby plantenkennis » Fri May 25, 2018 4:48 pm

Hello,
I wanted to test the mail example, but that gave some errors. Can you please revice this
Code: Select all  Expand view  RUN

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
User avatar
plantenkennis
 
Posts: 166
Joined: Wed Nov 25, 2015 7:13 pm
Location: the Netherlands

Re: send mail

Postby mastintin » Tue May 29, 2018 9: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.
User avatar
mastintin
 
Posts: 1516
Joined: Thu May 27, 2010 2:06 pm

Re: send mail

Postby mastintin » Sun Jun 03, 2018 1: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.
User avatar
mastintin
 
Posts: 1516
Joined: Thu May 27, 2010 2:06 pm

Re: send mail

Postby plantenkennis » Tue Jun 05, 2018 9: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
User avatar
plantenkennis
 
Posts: 166
Joined: Wed Nov 25, 2015 7:13 pm
Location: the Netherlands


Return to FiveMac / FivePhone (iPhone, iPad)

Who is online

Users browsing this forum: No registered users and 17 guests