Re: Questionary into the mail message

2016-11-15 Thread Jim Labos - infobase
I would ask you if you have a Webserver license? Even if you don't you can
use the server for 1 hour as trial.

It is a lot easier and efficient as well as accurate to do what you are
trying to do, although more expensive. However I would recommend using the
Web features of 4D as it saves a lot of headaches and opens up more
possibilities for your current and future development.

You would create an HTML email "Form". You can embed into the HTML objects
your 4D references.
So for instance a "Name" field could be named "Name" or anything else that
makes sense in your 4D database. You can also use 4D fields directly but I
never use that method so I can't comment on it's use.
You will need a "Submit" action button in the form to make this work. This
submit button must point to the URL that the 4D Webserver is listening to.

Look at how the Webserver works with 4D Tags and you will get an idea of how
to do it.

Sorry if you already knew this, but just in case

Cheers

Jim Labos - infobase



-
Jim Labos - infobase
--
View this message in context: 
http://4d.1045681.n5.nabble.com/Questionary-into-the-mail-message-tp5748444p5748682.html
Sent from the 4D Tech mailing list archive at Nabble.com.
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Questionary into the mail message

2016-11-15 Thread Neil Dennis
> Know a real example?


If you are looking for someone to write the code for you, you are asking a lot, 
it is a big project. However all of the pieces are documented with the 4D api.

Work through the process and break it in to small chunks, for example in part 
of your process you will want to be able to send an email from 4D. So look at 
the api.

The api has a lot of examples:

http://doc.4d.com/4Dv15R5/index.en.html 


For example here are several examples on sending an email

http://doc.4d.com/4Dv15R5/4D-Internet-Commands/15-R5.1550/SMTP-QuickSend.301-3013199.en.html
 


From this link:
$Host:="www.4d.com"
 $ToAddress:="adup...@4d.fr"
 $FromAddress:="jsm...@4d.com"
 $Subject:="Sales Report"
 $Message:="Can you send me the sales report for January 2009? Thanks."
 $Error:=SMTP_QuickSend($Host;$FromAddress;$ToAddress;$Subject;$Message;1)
 If($Error#0)
ALERT("Error: SMTP_QuickSend"+Char(13)+IT_ErrorText($Error))
 End If

For reading emails look at the IMAP or POP3 commands depending on the mail 
protocol you want

http://doc.4d.com/4Dv15R5/4D-Internet-Commands/15-R5.1550/IC-IMAP-Review-Mail.201-3013097.en.html
 


All of the parts to what you want to do are there. You just need to put the 
pieces together to solve your particular problem.

--
Neil Dennis
4D Developer since 1990

GreaText - Designing Software for the Way You Work
716 East 1850 N
North Ogden, UT 84414

mailto:npden...@greatext.com
http://www.greatext.com/

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Questionary into the mail message

2016-11-15 Thread STARDATA
Hi Dennis,

Know a real example?

Thanks
Ferdinando



--
View this message in context: 
http://4d.1045681.n5.nabble.com/Questionary-into-the-mail-message-tp5748444p5748671.html
Sent from the 4D Tech mailing list archive at Nabble.com.
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Questionary into the mail message

2016-11-09 Thread Dennis, Neil
>1 - With 4D i send an email with an HTML code included with some questions.
>2 - The user open the mail with the his mail manager application, compile this 
>questions and send the mail answer that contain the questionary
>3 - In 4D i need to receve this email and take the answers for save the 
>answers into the database.
>
>Is possibile to do this on 4D?

You can do anything in 4D :)

For your case I would suggest using the 4D Internet Commands to create, send, 
load and extract the email messages: 
http://doc.4d.com/4Dv15R5/4D-Internet-Commands/15-R5.1550/4D-Internet-Commands.100-3013094.en.html

You also might want to consider 4D write pro for creating html email messages 
it makes them easier. 
http://doc.4d.com/4Dv15R5/4D/15-R5/4D-Write-Pro-Reference.100-2936204.en.html

Neil





--

Privacy Disclaimer: This message contains confidential information and is 
intended only for the named addressee. If you are not the named addressee you 
should not disseminate, distribute or copy this email. Please delete this email 
from your system and notify the sender immediately by replying to this email.  
If you are not the intended recipient you are notified that disclosing, 
copying, distributing or taking any action in reliance on the contents of this 
information is strictly prohibited.

The Alternative Investments division of UMB Fund Services provides a full range 
of services to hedge funds, funds of funds and private equity funds.  Any tax 
advice in this communication is not intended to be used, and cannot be used, by 
a client or any other person or entity for the purpose of (a) avoiding 
penalties that may be imposed on any taxpayer or (b) promoting, marketing, or 
recommending to another party any matter addressed herein.
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Questionary into the mail message

2016-11-08 Thread stardata.info

Hi All,

In one 4d application i need to do these things:

1 - With 4D i send an email with an HTML code included with some questions.
2 - The user open the mail with the his mail manager application, 
compile this questions and send the mail answer that contain the 
questionary
3 - In 4D i need to receve this email and take the answers for save the 
answers into the database.


Is possibile to do this on 4D?


Thanks
Ferdinando
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**