dbTalk Databases Forums  

VFP sending email using SMTP

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss VFP sending email using SMTP in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Rich R.
 
Posts: n/a

Default VFP sending email using SMTP - 10-03-2003 , 08:46 AM






I'm trying to find a way for VFP8 to scan through our email database
and send a message to our network users. Sounds fairly simple, but
instead of having a "text" message, I want a .JPG or image file to be
the body of the message. I don't want it sent as an attachment. I've
downloaded wwIPStuff from West-Wind, and I think I've figured that
out, but it looks like it only supports text messages.

Any ideas? As always, thanks for all of your help.

Reply With Quote
  #2  
Old   
Dan Freeman
 
Posts: n/a

Default Re: VFP sending email using SMTP - 10-03-2003 , 11:33 AM






Having a JPG as the entire message is a genuinely bad idea.

The "S" in SMTP stands for simple. It's a transfer protocol, not a
formatting protocol. Also, client email applications may not accept or be
able to read anything other than text messages.

These days, particularly in light of email viruses, worms, and trojans, it's
a crap shoot sending anything other than text.

I know I'm not answering your question. I'm questioning your question. <g>

If I was asked to do what you're trying to do, I'd feel compelled to say BAD
IDEA.

Dan


"Rich R." <rich (AT) bittar (DOT) org> wrote

Quote:
I'm trying to find a way for VFP8 to scan through our email database
and send a message to our network users. Sounds fairly simple, but
instead of having a "text" message, I want a .JPG or image file to be
the body of the message. I don't want it sent as an attachment. I've
downloaded wwIPStuff from West-Wind, and I think I've figured that
out, but it looks like it only supports text messages.

Any ideas? As always, thanks for all of your help.



Reply With Quote
  #3  
Old   
Anthony Shipley
 
Posts: n/a

Default Re: VFP sending email using SMTP - 10-04-2003 , 01:36 AM



rich (AT) bittar (DOT) org (Rich R.) [WA] wrote:

Quote:
Any ideas? As always, thanks for all of your help.
Without knowing what you're trying to achieve, you might get close to your
desired result by emailing a URL that the recipient of your email can use to
retrieve the image you refer to.

regards - anthony shipley

look, ma - no .sig


Reply With Quote
  #4  
Old   
Paul
 
Posts: n/a

Default Re: VFP sending email using SMTP - 10-05-2003 , 12:25 PM



If you don't want to send the JPG as an attachment (which as others have
said, is kind of a bad idea and not "polite"), then you need to format the
message as HTML and include an <img src> reference to the image located on a
web server accessible to your email recipients. Remember your mail server
will have to process your JPG attachment X 1000 (if 1000 recipients) eating
up mail server disk space, bandwidth, and user disk quotas (if any), and
each email client will then have a copy of the JPG in their mailbox, eating
up space in their local or server based mailstores.

Proper form would be to construct the email in two "parts", one with a MIME
type of text/plain (for those who have HTML turned off for some reason) and
the other part of type text/html. You can check over on the west-wind.com
forum to see if this is possible...

HTH,
-- Paul


"Rich R." <rich (AT) bittar (DOT) org> wrote

Quote:
I'm trying to find a way for VFP8 to scan through our email database
and send a message to our network users. Sounds fairly simple, but
instead of having a "text" message, I want a .JPG or image file to be
the body of the message. I don't want it sent as an attachment. I've
downloaded wwIPStuff from West-Wind, and I think I've figured that
out, but it looks like it only supports text messages.

Any ideas? As always, thanks for all of your help.



Reply With Quote
  #5  
Old   
Rich R.
 
Posts: n/a

Default Re: VFP sending email using SMTP - 10-07-2003 , 06:59 AM



Yes, I hear you, and NO, this is not spam. I'm fighting spam just as
much as the rest of us. The image file is a small 5k graphic which
will be sent to users in our office ONLY, asking them what they think
of our new logo. We thought it would be neat when users open the
email to have our new logo right there with the text "what do you
think?", instead of having to open an attachment.

Thanks for the input.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.