Page 1 of 2

How to send form/data via email (user details/photo taken by camera)?

Posted: Mon Aug 05, 2013 3:57 pm
by admin_21

Can you please guide us on how to proceed:

How to email the user contact details and the photo taken by the camera when click submit button?(by NOT using an API/Sendgrid) I wanted to try it via mailto:

Current function of the app:
-When a user takes a photo on the camera of the phone, it will display the preview.

Please see image below for the screenshot of my app

Image

Thanks! any suggestion will be very much appreciated.


How to send form/data via email (user details/photo taken by camera)?

Posted: Mon Aug 05, 2013 4:00 pm
by maxkatz

Here is how to display an image: http://docs.appery.io/tutorials/using...

As for not using API to send an email... I'm not sure you can use mailto: -- to include a file as attachment. You would need to search more about it.

Max


How to send form/data via email (user details/photo taken by camera)?

Posted: Mon Aug 05, 2013 4:13 pm
by admin_21

Thanks Max.

We already know how to display the image, but haven't been saved on the database yet, I have been following tutorials on how to but no luck as of now.

Is there any other way how to send it via email? (free mail API)


How to send form/data via email (user details/photo taken by camera)?

Posted: Mon Aug 05, 2013 4:16 pm
by maxkatz

SendGrid. You would need to search for any other API providers.


How to send form/data via email (user details/photo taken by camera)?

Posted: Tue Sep 17, 2013 12:42 pm
by Olaf

Hi,

I need such an app too, but I don't think you should send attachments by mail from a phone.
The sendgrid app is great, but for what I know is that you can't send attachments with your mail while using a free account.

How about building an app to store the data in the database (photo's, email address and text) and send all the data from your own web application using the API and some cronjob?


How to send form/data via email (user details/photo taken by camera)?

Posted: Tue Sep 17, 2013 6:12 pm
by Maryna Brodina

Hello!
If you mean Appery.io server code then there is no way to do that.
It's up to you, but not sure why you need to use cronjob for this purpose? It's easier to create own service with rest api to send emails with attachment.


How to send form/data via email (user details/photo taken by camera)?

Posted: Tue Sep 17, 2013 6:59 pm
by Olaf

Hi Marina,
Please let me know that I want the same.
Right now I need two different functions:
1 - Take the picture and store that image in the database
2 - Use the picture information and send this info (link or image data) by email.

If I use the link the sendgrid API is a good idea, if I need to send attachements it seems to me easier to have my email application somewhere else (this could be done with the appery.io API and some PHP code)


How to send form/data via email (user details/photo taken by camera)?

Posted: Tue Sep 17, 2013 9:21 pm
by Maryna Brodina

Yes, that's right.


How to send form/data via email (user details/photo taken by camera)?

Posted: Mon Oct 21, 2013 10:02 am
by Carlos Pinto

Hi Olaf, can you link to some tutorial or solution that worked for you? i am trying to do the same, but at the moment i do not know how to "link" from my appery.io app to i.e. http://www.domain.com/upload.php

greetings and thanks!


How to send form/data via email (user details/photo taken by camera)?

Posted: Mon May 19, 2014 11:50 am
by Jordi Niubo

Hi, any one have any solution for send email without SendGrid Mail API plug-in?