maxlucy
asked on
How to send email in delphi with image
Hi i want to be able to click "send" button and for to put the image when before i send the email in my default email client "thunderbird" and add the following.
SEND.CLICK =
1) the subject being = labelsales.caption;
2) the email address = DBAdd1.text
3) the message body needs to be an image of
C:\Users\Thomas\Desktop\SI TESCANS\NE W\myfilena me' + '\' + folder.text + '\' + DBSheet.text + '\' + edit1.text;
Then send..
this is a extention of a JPG images, please do not alter the above line in any way.
I want to be able to click the send button, and for it to send the email out withought me click send again on the email if possible. Aslong as the image is inside the email it will be fine i guess too...
when i drag the image into the composed email its fine, so i want delphi to do that. cheers
so to recap.. send button clicks >> opens new mail >> adds subject from labelsales.caption >> adds email from dbadd1.text >> adds image from link above >> send email..
SEND.CLICK =
1) the subject being = labelsales.caption;
2) the email address = DBAdd1.text
3) the message body needs to be an image of
C:\Users\Thomas\Desktop\SI
Then send..
this is a extention of a JPG images, please do not alter the above line in any way.
I want to be able to click the send button, and for it to send the email out withought me click send again on the email if possible. Aslong as the image is inside the email it will be fine i guess too...
when i drag the image into the composed email its fine, so i want delphi to do that. cheers
so to recap.. send button clicks >> opens new mail >> adds subject from labelsales.caption >> adds email from dbadd1.text >> adds image from link above >> send email..
ASKER
im not really bothered what i send it with really, just aslong as it send the picture to the correct format above if someone can write the code for that please that will be grand!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
good
http://delphi.about.com/od
... here is more sources ... http://www.torry.net/pages
There are few examples how o implement email client and send messages on your own in Indy (comes with delphi) or ICS. Try it. You will not regret. Using another client for sending something except text is a pain.