Link to home
Start Free TrialLog in
Avatar of alonb1
alonb1

asked on

sending mail from webrowser

Hi All,
Is there a way to send a mail from the webrowser.
what i a mean is to send it like in the option of the
explorer in : File -> Send -> page by email.
please its very urgent.

Thanks & Regards.
Avatar of roverm
roverm
Flag of Netherlands image

What would you like to send ? Are you creating ASP pages from which an email should be send ? What else ?

D'Mzzl!
RoverM
Avatar of Anthony Perkins
A couple of options could be CDONTS and a free third party tool like JMail.

Anthony
Avatar of alonb1
alonb1

ASKER

I am not using any asp.
I am using Webrowser from vb.
and i would like to send an html file.
like I said I want to send the page that I am viewing in the webrowser.
in that way: File -> Send -> page by email.

To: acperkins
where can i get the JMail.

Thanks & Regards

Ok, the Document object from the webbrowser exposes the same as in ASP or HTML.
So, Webbrowser1.Document gives you everything about the currect document.
Maybe you can do something with that.

D'Mzzl!
RoverM
I misread the question.  I thought this was an ASP question.  If you have Outlook (not Outlook Express)installed on your workstation than you can use Outlook Automation to attach the page.  Let me know if you need an example.

Anthony
Avatar of alonb1

ASKER

I know how can i send mail from outlook.
i want to send mail without any program.

there is another optinon, to send from winsocket, but i dont know
how can i send email with attachment from the winsocket.

maby now you can help me.
Create a .bat file with this content (just as example) and wrote it behinh a command button or menu item, you choose...

start "mailto:?subject=TheScarms Visual Basic Code Library Page&body=This link was forwarded to you from: TheScarms Visual Basic Code Library.    http://www.TheScarms.com/vbasic/timer.asp" TITLE="Send this page to a friend."
alonb1

JMail is a program (as is Outlook) so if you cannot use any program to send the attachment than I am afraid I cannot help you.

Good luck.
Avatar of alonb1

ASKER

To: Richie_Simonetti
how can i send an attachment with your example.
where do i put the path of the file to attach .
Avatar of alonb1

ASKER

To: Richie_Simonetti
by the the bat file open the outlook message
i would like it send it automatically after i am attaching the a file.

thanks again.
ASKER CERTIFIED SOLUTION
Avatar of Richie_Simonetti
Richie_Simonetti
Flag of Argentina image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of alonb1

ASKER

Thanks Again.
You are welcome.