comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: sending email via idl?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: sending email via idl? [message #82740 is a reply to message #60739] Fri, 11 January 2013 03:46 Go to previous message
Helder Marchetto is currently offline  Helder Marchetto
Messages: 520
Registered: November 2011
Senior Member
On Friday, June 6, 2008 5:07:42 PM UTC+2, Jeff N. wrote:
> On Jun 5, 4:57 pm, jeffnettles4...@gmail.com wrote:
>> On Jun 5, 1:13 pm, "Haje Korth" <haje.ko...@nospam.jhuapl.edu> wrote:
>>
>>
>>
>>> orhttp://www.beyondlogic.org/solutions/cmdlinemail/cmdlinema il.htm
>>
>>> (Google has tons of hits ffor this.)
>>
>>> H.
>>
>>> "Andy Heaps" <a.j.he...@reading.ac.uk> wrote in message
>>
>>
>>>> Hi Sudha,
>>>> try using the SPAWN command and you should be able to do this.
>>
>>>> Cheers
>>>> Andy
>>
>>>> sudha wrote:
>>>> > Has anyone had any experience in writing an idl program to send email?
>>>> > My software needs to have the ability to email an image attachment,
>>>> > either when the user clicks a button, or as a notification at the end
>>>> > of some computation.
>>
>>>> > Thanks!
>>
>>>> > Sudha
>>
>> You could also install cygwin. That's free and i think it includes
>> sendmail. You might also think about spawning a perl or python script
>> from IDL, something along those lines.
>>
>> As far as ActiveX/COM goes, I haven't heard of there being a control
>> for a "default mail program." There might be such a program but it
>> might still not have any COM functionality exposed. Outlook, of
>> course, does expose COM functions, so if you have Outlook you can use
>> that.
>>
>> Another free SMTP mailer is Blat.http://www.blat.net/194/. I just
>> did some searching on the web, I do not use this myself.
>>
>> Jeff
>
> I forgot to point out that I don't think you would need the IDL-COM
> bridge for this. If you have IDL 6.3+ it has IDL objects that allow
> you to work with ActiveX/COM controls (they existed pre-IDL6.3 but
> were improved in that version). I've read/written data directly to/
> from Excel files using those controls and I don't have the IDL-COM
> Bridge.

Hi,
I do know that I'm answering an old post (sigh 5 years...), anyhow, I just found that it is quite easy to send emails via cmd (read spawn) with this program:
http://cmdemail.codeplex.com/
It worked quite fast and well for me on a win 7 machine. I hope this helps others also wanting to have their software sending emails. I found that trying to use telnet or blat may cause headaches...

Cheers,
Helder
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: RESOLVE_ALL problem
Next Topic: sending email via idl?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 23:48:10 PDT 2025

Total time taken to generate the page: 0.72103 seconds