Hi Folks,
I'm seeking some insight into sending E-mail from VFP programs.
In the past, I've seen this done by dropping .BAT files containing MAPI commands
into a system folder, with the .BAT file sending another .txt file. There
wasn't a good way to track the success of the sending. It also doesn't seem to
work if you can't get access to MAPI processes (like, you don't have a server,
don't have Exchange, etc.). At least this is my understanding of the mechanism.
Today, I need to be able to generate a nifty, nicely-formatted HTML Email (with
logos, etc.), and send it, done by a VFP program. I'm not worried about the
generating, just the sending part.
I'm assuming that the old way would still work, and have heard of some virtual
printers that will do this.
Comments and/or experience on the best way to do this?
Thanks in advance,
Brant Layton
480.964.1316
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/4E4EA20A.2040900@futureone.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
On Fri, Aug 19, 2011 at 1:48 PM, Brant E. Layton <dcci@futureone.com> wrote:
> Hi Folks,
>
> I'm seeking some insight into sending E-mail from VFP programs.
>
You are not the first to ask this question. You might want to review the forum:
http://leafe.com/archives/search/profox
And the FoxPro Wiki:
http://fox.wikis.com/wc.dll?Wiki~AutomatedEmail~VFP
--
Ted Roche
Ted Roche & Associates, LLC
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/CACW6n4tMhSeZwePwJPLRvc2qhDjFt6DwM7e723JRn5EmxLhK9A@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Ted ... I'm proud of you ... You didn't start your answer with the "MAPI
Bad, SMTP Good" line!!!
GDR,VVF
Francis
-----Original Message-----
From: profoxtech-bounces@leafe.com [mailto:profoxtech-bounces@leafe.com] On
Behalf Of Ted Roche
Sent: Friday, August 19, 2011 1:03 PM
To: profoxtech@leafe.com
Subject: Re: Sending E-mail from VFP
On Fri, Aug 19, 2011 at 1:48 PM, Brant E. Layton <dcci@futureone.com> wrote:
> Hi Folks,
>
> I'm seeking some insight into sending E-mail from VFP programs.
>
You are not the first to ask this question. You might want to review the
forum:
http://leafe.com/archives/search/profox
And the FoxPro Wiki:
http://fox.wikis.com/wc.dll?Wiki~AutomatedEmail~VFP
--
Ted Roche
Ted Roche & Associates, LLC
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/000001cc5ea9$fd7a33b0$f86e9b10$@net
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
On Fri, Aug 19, 2011 at 3:55 PM, Francis I. Coppage, Jr.
<fcoppage@clutions.net> wrote:
> Ted ... I'm proud of you ... You didn't start your answer with the "MAPI
> Bad, SMTP Good" line!!!
>
Not that it isn't still true :)
I wondered how long it would take to appear on the thread.
It appears my work is done here.
--
Ted Roche
Ted Roche & Associates, LLC
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/CACW6n4sXgYOrB4YkQmRnrXhsM_A0Y5S56K0e5ck656q_XbuxQw@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
> > Ted ... I'm proud of you ... You didn't start your answer with the
"MAPI
> > Bad, SMTP Good" line!!!
> >
>
> Not that it isn't still true :)
>
> I wondered how long it would take to appear on the thread.
>
> It appears my work is done here.
>
>> "MAPI Bad, SMTP Good" line!!!
Such good advice that I have it tattooed on my a$$... ;)
Happy Friday all...
Thanks,
Matthew Jarvis || Business Systems Analyst
IT Department
McKenzie-Willamette Medical Center
1460 G Street, Springfield, OR 97477 || Ph: 541-744-6092 || Fax:
541-744-6145
--------------------------------------------------------------------------
Disclaimer: This electronic message may contain information that is
Proprietary, Confidential, or legally privileged or protected. It
is intended only for the use of the individual(s) and entity named
in the message. If you are not an intended recipient of this
message, please notify the sender immediately and delete the
material from your computer. Do not deliver, distribute or copy
this message and do not disclose its contents or take any action in
reliance on the information it contains.
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/69F310C05DD83C48A84BA3769CE1ECF805892AFE@TNTRIEXEVS02.triadhospitals.net
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
I've used BLAT forever ... works great ... it's free ... it's SIMPLE!!!
Thanks again Ted!!!!
-----Original Message-----
From: profoxtech-bounces@leafe.com [mailto:profoxtech-bounces@leafe.com] On
Behalf Of Ted Roche
Sent: Friday, August 19, 2011 3:18 PM
To: profoxtech@leafe.com
Subject: Re: Sending E-mail from VFP
On Fri, Aug 19, 2011 at 3:55 PM, Francis I. Coppage, Jr.
<fcoppage@clutions.net> wrote:
> Ted ... I'm proud of you ... You didn't start your answer with the "MAPI
> Bad, SMTP Good" line!!!
>
Not that it isn't still true :)
I wondered how long it would take to appear on the thread.
It appears my work is done here.
--
Ted Roche
Ted Roche & Associates, LLC
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/000601cc5ec1$a8a70940$f9f51bc0$@net
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
On 8/19/2011 6:45 PM, Francis I. Coppage, Jr. wrote:
> I've used BLAT forever ... works great ... it's free ... it's SIMPLE!!!
> Thanks again Ted!!!!
Will BLAT do HTML formatted emails though? That's what the OP said he
needed.
--
Mike Babcock, MCP
MB Software Solutions, LLC
President, Chief Software Architect
http://mbsoftwaresolutions.com
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/4E4F3576.3080707@mbsoftwaresolutions.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
HTML formatted is just text with specific tags and is more dependent on the
client-side to interpret it correctly. I see no issues with this.
Michael Oke, II
661-349-6221
okeind@gmail.com
On Aug 19, 2011 9:18 PM, "MB Software Solutions, LLC" <
mbsoftwaresolutions@mbsoftwaresolutions.com> wrote:
> On 8/19/2011 6:45 PM, Francis I. Coppage, Jr. wrote:
>> I've used BLAT forever ... works great ... it's free ... it's SIMPLE!!!
>> Thanks again Ted!!!!
>
>
> Will BLAT do HTML formatted emails though? That's what the OP said he
> needed.
>
>
> --
> Mike Babcock, MCP
> MB Software Solutions, LLC
> President, Chief Software Architect
> http://mbsoftwaresolutions.com
> http://twitter.com/mbabcock16
>
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/CACBEV=VjOg=e4us-S39desxu-xkkR9BxwmTRtBN-jyxX+eN_jw@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Yes
Mike
MB Software Solutions, LLC wrote:
> On 8/19/2011 6:45 PM, Francis I. Coppage, Jr. wrote:
>> I've used BLAT forever ... works great ... it's free ... it's SIMPLE!!!
>> Thanks again Ted!!!!
> Will BLAT do HTML formatted emails though? That's what the OP said he
> needed.
>
>
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/4E4F3CE2.8080205@ggisoft.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
You can also CDOSys to send email. I use this all the time as it is
built in to Windows.
http://leafe.com/archives/full_thread/442226
-----Original Message-----
From: profox-bounces@leafe.com [mailto:profox-bounces@leafe.com] On
Behalf Of Brant E. Layton
Sent: 19 August 2011 19:01
To: GrahamB
Subject: Sending E-mail from VFP
Hi Folks,
I'm seeking some insight into sending E-mail from VFP programs.
In the past, I've seen this done by dropping .BAT files containing MAPI
commands
into a system folder, with the .BAT file sending another .txt file.
There
wasn't a good way to track the success of the sending. It also doesn't
seem to
work if you can't get access to MAPI processes (like, you don't have a
server,
don't have Exchange, etc.). At least this is my understanding of the
mechanism.
Today, I need to be able to generate a nifty, nicely-formatted HTML
Email (with
logos, etc.), and send it, done by a VFP program. I'm not worried about
the
generating, just the sending part.
I'm assuming that the old way would still work, and have heard of some
virtual
printers that will do this.
Comments and/or experience on the best way to do this?
Thanks in advance,
Brant Layton
480.964.1316
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/0AF51B84D903A144B9EE71AEAFE7E81C0EC230@compsys1.CompySys.local
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.