admin_21
Posts: 0
Joined: Mon Aug 05, 2013 2:27 pm

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

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.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

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

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

admin_21
Posts: 0
Joined: Mon Aug 05, 2013 2:27 pm

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

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)

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

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

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

Olaf
Posts: 0
Joined: Tue Sep 17, 2013 12:42 pm

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

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?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

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

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.

Olaf
Posts: 0
Joined: Tue Sep 17, 2013 12:42 pm

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

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)

Carlos Pinto
Posts: 0
Joined: Mon Oct 14, 2013 11:09 am

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

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!

Jordi Niubo
Posts: 0
Joined: Tue Nov 26, 2013 12:08 pm

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

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

Return to “Issues”