Whenver I try to send images or other documents through attachments, most of the times people are not being able to open files that I send them. Is there any other alternetive I can send these documents directly without e-mailing them?
Whenver I try to send images or other documents through attachments, most of the times people are not being able to open files that I send them. Is there any other alternetive I can send these documents directly without e-mailing them?
PrinterAnywhere lets you share your printer with someone else, or vice versa across the Internet.
Instead of sending someone an attachment of any document, simply print it directly to their printer. You wont have to worry about people not being able to open files that you send them, all you have got to do is just set up a connection (takes less than a minute) and print from whatever program you created it in, to their printer.
Download
There are many ways you can send an email directly :
From Delphi : the most simple one is to use the ShellExecute API call to send an email using the default e-mail client software installed on a user's machine. This approach is ok, but you are unable to send attachments in this way.
Another technique uses MS Outlook and OLE to send email with attachment, this one requires that Outlook is installed.
One of the ways is to use to use Delphi's built-in support for the Windows Simple Mail API.
This only works if the end-user has MAPI-compliant email software.
This approach uses Indy components - a great internet component suite comprised of popular internet protocols written in Delphi and based on blocking sockets.
Sending (or retrieving) email messages with Indy components is as easy as dropping a component or two on a form, setting some properties, and "clicking a button".
To send an email with attachment(s) from Delphi using Indy, we'll need two components.
First, the TIdSMTOP is used to connect and communicate (send mail) with an SMTP server.
Second, the TIdMessage handles storing and encoding of message(s).
When the message is constructed (TIdMessage "filled" with data), the email message is delivered to an SMTP server using the TIdSMTP.
Bookmarks