Solved

sending mail from webrowser

Posted on 2001-08-26
13
157 Views
Last Modified: 2012-08-14
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.
0
Comment
Question by:alonb1
  • 5
  • 3
  • 3
  • +1
13 Comments
 
LVL 12

Expert Comment

by:roverm
ID: 6426538
What would you like to send ? Are you creating ASP pages from which an email should be send ? What else ?

D'Mzzl!
RoverM
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 6426586
A couple of options could be CDONTS and a free third party tool like JMail.

Anthony
0
 

Author Comment

by:alonb1
ID: 6426684
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

0
 
LVL 12

Expert Comment

by:roverm
ID: 6426726
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
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 6426732
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
0
 

Author Comment

by:alonb1
ID: 6426789
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.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6426967
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."
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 6427080
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.
0
 

Author Comment

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

Author Comment

by:alonb1
ID: 6427116
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.
0
 
LVL 16

Accepted Solution

by:
Richie_Simonetti earned 150 total points
ID: 6427414
alonb1, you didn't say that the code must manage attachments.
If you want that funcionalitty and don't want to show end user interface, use this great and FREE little tool:
http://www.freevbcode.com/ShowCode.Asp?ID=109
0
 

Author Comment

by:alonb1
ID: 6427910
Thanks Again.
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6428622
You are welcome.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
DO Loop not working 4 72
String manipulation in Visual Basic 7 60
SLMGR Switches Are Not Working On KMS Host 3 70
IF ELSE Statement in Excel Macro VBA 16 35
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now