IonicWind Software

IWBasic => General Questions => Topic started by: Dennisc on May 11, 2009, 12:04:06 AM

Title: Emailing assistance
Post by: Dennisc on May 11, 2009, 12:04:06 AM
Hi

I need some help with an area I have little experience in. I know it can be done but I just don't have the knowledge to do it. I have written a program which collects a set of responses to a questionnaire and saves them to a file. I now want to send that file as an attachment to a specific email address. I don't want to have the client having to set up SMTP addresses etc. - it all has to be invisible to the user if possible. I know I have to use MIDI functions somehow and that is about the extent of my knowledge :(

Any assistance glady accepted.....

Thanks in advance

Dennis
Title: Re: Emailing assistance
Post by: Copex on May 11, 2009, 02:54:17 AM

hi

you would have to code your own SMTP routine have a look here http://www.samlogic.net/articles/smtp.htm .

scott
 
Title: Re: Emailing assistance
Post by: Dennisc on May 11, 2009, 03:55:08 AM
Thanks Scott - will do....
Title: Re: Emailing assistance
Post by: chris on May 11, 2009, 04:36:00 PM
if you have accses to a web srever it might be easer to use php and just send the data useing POST if you want an example just send me a pm
Title: Re: Emailing assistance
Post by: Ionic Wind Support Team on May 11, 2009, 08:35:15 PM
Chris,
See the example program emailer.eba included with the Emergence installation as a starting point.

Paul.
Title: Re: Emailing assistance
Post by: Dennisc on May 11, 2009, 10:43:15 PM
Thanks Paul - will work through the emailer example. I have suddenly rediscovered where the examples are hiding - lost them out of the EBDev directory :) :)

Chris, I have sent you a PM.

Regards
Dennis