Fax and email in dot net question

  • Thread starter Thread starter Mike Grace
  • Start date Start date
M

Mike Grace

Hi,

I am using some of the component one tools to create a printout.

I need to be able to fax and email it.

I have already installed Microsoft Fax (Windows XP) and I can select it as a
printer and fax it.

The trouble is that it always asks me the fax number. Can I embed the fax
number into the printout?

I really would like to be able to programmatically set this information so
that the user does not have to enter anything.

Also, what is the best way to email a print out?

Can I embed a [mailto:] code?

We have exchange installed, but I cannot guarantee that some of our
customers will have it.

Regards


Mike
 
Does this only work on XP?

Some of my customers are on windows 98.

Also, any thoughts on the email part?

Mike
 
O.K. I have done some reading.

I have decided that the best way for me to approach this is by using
outlook.

Is it as simple as creating a system.web.mail.smtp message and putting in to
"TO:" field either a fax number or an email address?

Will that work? (Obviously Outlook have to be configured to fax).

Is it feasible and will it only work on windows 2000 and XP?

Regards


Mike
 
Mike Grace said:
Also, any thoughts on the email part?

Three optoins:

1) System.Web.Mail - Basic, but will handle simple mails.

2) MAPI - Uses your Outlook or whatever. Personally I dont like MAPI, but
some like it better.

3) Indy - Free and can handle all the complex stuff.
http://www.indyproject.org/indy.html


--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"


ELKNews - Get your free copy at http://www.atozedsoftware.com
 
Mike Grace said:
Also, what is the best way to email a print out?

You could email it as an attachment. TIFs are what faxes are and most windows
boxes can display TIFs. You could convert to JPGs too.
Can I embed a [mailto:] code?

How would that help?
We have exchange installed, but I cannot guarantee that some of our
customers will have it.

You should stick to SMTP. Exchasnge supports it and SMTP is the standard.


--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"


ELKNews - Get your free copy at http://www.atozedsoftware.com
 
Mike Grace said:
I have decided that the best way for me to approach this is by using
outlook.

Is it as simple as creating a system.web.mail.smtp message and putting
in to "TO:" field either a fax number or an email address?

No. web.mail.smtp is not for using Outlook. That is for sending a direct
message.

To use Outlook you need to use MAPI.



--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"


ELKNews - Get your free copy at http://www.atozedsoftware.com
 
Thanks Chad,

Will this help with faxing?

Mike

Chad Z. Hower aka Kudzu said:
Mike Grace said:
Also, what is the best way to email a print out?

You could email it as an attachment. TIFs are what faxes are and most windows
boxes can display TIFs. You could convert to JPGs too.
Can I embed a [mailto:] code?

How would that help?
We have exchange installed, but I cannot guarantee that some of our
customers will have it.

You should stick to SMTP. Exchasnge supports it and SMTP is the standard.


--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"


ELKNews - Get your free copy at http://www.atozedsoftware.com
 
I know I could use indy, but does the .net framework have support for MAPI
messages or would I have to use outlook for automation?

Regards

Mike
 
Mike Grace said:
I know I could use indy, but does the .net framework have support for
messages or would I have to use outlook for automation?

MAPI and SMTP are not the same. MAPI "kind of" controls Outlook, but can also
be supported by Euroa, OLX, etc.. I dont like MAPI - but if you are going to
go the local machine route MAPI is better than the COM interface to Outlook.

BUT MAPI is much more limited too. The COM interface might let you use the
fax plugin directly.


--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"


ELKNews - Get your free copy at http://www.atozedsoftware.com
 
Back
Top