473,800 Members | 2,304 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

send contents of page in email

is there not an easy way to simply send the contents of a page in the
body of an email? i.e. i have a report.php that pulls from a mysql db.
i need to be able to send the displayed file right in the body of the
email. can anyone help with this?

God bless
jason
Nov 16 '07 #1
5 2715
jsd219 wrote:
is there not an easy way to simply send the contents of a page in the
body of an email? i.e. i have a report.php that pulls from a mysql db.
i need to be able to send the displayed file right in the body of the
email. can anyone help with this?
Sure.
What did you try so far?
Did you use PHP's mail function or some package (Mimemail eg)

>
God bless
No thanks.
jason
Regards,
Erwin Moller
Nov 16 '07 #2
isn't that cute!!!! a little dutch atheist homo :)
On Fri, 16 Nov 2007 09:40:14 +0100, Erwin Moller
<Si************ *************** *************** @spamyourself.c omwrote:
>
>>
God bless

No thanks.

Regards,
Erwin Moller
Nov 18 '07 #3
sun5 wrote:
isn't that cute!!!! a little dutch atheist homo :)
Dutch? Yeah.
Atheist? Sure.
Homo? Last time I checked: No.
Which is a shame. DAH (Dutch Atheist Homo) has such a nice tone to it.
;-)
Anyway, Dutch Atheist Hetero is enough for me.

Erwin the dutchman

>

On Fri, 16 Nov 2007 09:40:14 +0100, Erwin Moller
<Si************ *************** *************** @spamyourself.c omwrote:
>>God bless
No thanks.

Regards,
Erwin Moller
Nov 19 '07 #4
On Mon, 19 Nov 2007 12:46:15 +0100, Erwin Moller
<Si************ *************** *************** @spamyourself.c omwrote:
sun5 wrote:
>isn't that cute!!!! a little dutch atheist homo :)

Dutch? Yeah.
Atheist? Sure.
Homo? Last time I checked: No.
Which is a shame. DAH (Dutch Atheist Homo) has such a nice tone to it.
;-)
Anyway, Dutch Atheist Hetero is enough for me.

Erwin the dutchman
OK, we know about being dutch, being atheist, being hetero. What about
'little' and 'cute'? LDACH has a nice ring to it. Or possibly DALCH. CLADH
doesn't trike my fancy though.
--
Rik Wasmus, BADUH
Nov 19 '07 #5
On Nov 15, 7:52 pm, jsd219 <i...@musiclane recording.comwr ote:
is there not an easy way to simply send the contents of a page in the
body of an email? i.e. i have a report.php that pulls from a mysql db.
i need to be able to send the displayed file right in the body of the
email. can anyone help with this?

God bless
jason
Why not do it from another page that reads the report.php file in as
the message and sends it out? Something ultra-simple like this?

$message = file_get_conten ts('report.php' );
mail('y**@examp le.com','My Report Subject',$messa ge);

If you want more control over the mail message format I would
recommend using the Zend Mail class.
Nov 20 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
3167
by: eswanson | last post by:
I have a web page I need to post a file plus some other fields to it. How can I do this from a asp.net page. I know I can send individual fields to the other page, but how do I send a file to the other page, or is there something else like a stream which will be like a file. I am attempting to get a way from writing out a file and then having to give the page that I am posting to the file name. Instead I would like to just from asp.net...
3
2735
by: Sabri AKIN | last post by:
Hi, I want to send ascx file's html code as email.this ascx file is summary of customer sale.and at last iwant to send email to customer.how can i get and past ascx file's html code to mail body.
7
2153
by: Martin | last post by:
Hi, I have a standard aspx page (form) that contains a few user controls. Upon form submission the page is validated. If validation passses then a text based email is sent. This is all working fine, however what I would like to do is sent the entire contents of the posted back page as a HTML email. Is this possible and if so could somebody point me in the right direction to achieving this.
10
8943
by: Aj Blosser | last post by:
Hey guys, I have a question for you, I have a setup where I'm sending files through the POST to a php web page, I read the file contents, put that file contents as text into the POST string, and send it on it's way. it works perfectly for text files. However, I can't open a word document like a text file and have it give me the result I need. I'm looking for a way to just open a word document and get all the values in it like you would...
15
8592
by: cj | last post by:
How can I get a button in VB to send the contents of a text box via email in a manner similar to the "Send To\Mail Recipient" functionality that you can select via right clicking a file in Windows Explorer? I want the user to click a button and it lunch the users default email client and put the contents of a multi line text box in the body of the message and the contents of another text box in the title box and be sitting there read for...
1
1774
by: john_aspinall | last post by:
Hi, I want to send an email form on an ASP page and make it secure/ encrypted when sending it to the recipient. Does anyone know how I might easily achieve this - or should I be going through some other method to achieve this. Maybe writing to a database file and providing secure access to a page? Thanks...John
4
4867
by: David A. Beck | last post by:
I need to enter data on a web page. I have been able to navigate using the VB.NET WebBrowser control and see the contents of each page. What I need to do now is to fill in the controls on the page with text and send an <enter> key. If WebBrowser can't do this, does anyone know of a different managed control that can do this? Dab
7
1607
by: canajien | last post by:
How can I get a php page to automatically send all the contents in an email when it is generated? I managed to hack together a script that sends an email, but it will only send the 1st record returned and I would like it to send all the records that are on the page when it is loaded. <?php $con = mysql_connect("localhost","user","pass"); if (!$con)
2
18175
by: anu b | last post by:
Now i am sending email to my friend using session variable... but my code is as below private bool SendEmail(string email) { try
0
9690
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9551
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10033
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9085
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7576
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6811
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5606
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4149
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2945
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.