Jose
|
| Posted: 03/02/2006, 5:14 AM |
|
I see the email action but not how to send a grid or page. There is a way to
do it by CSS or I have to code it manually using php mail?
Thanks.
--
Ing. Jose Maldonado
IT Manager
Povocom Informatica
|
|
|
 |
feha
Posts: 712
|
| Posted: 03/02/2006, 5:45 AM |
|
Check this: http://forums.yessoftware.com/posts.php?post_id=71378
_________________
Regards
feha
www.vision.to
feedpixel.com |
 |
 |
peterr
Posts: 5971
|
| Posted: 03/02/2006, 10:34 PM |
|
Use the $main_block variable in the "Before Output" event. It contains your page output (grid or whatever is on the page).
Try:
global $main_block;
echo $main_block;
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
Jose
|
| Posted: 03/03/2006, 8:26 AM |
|
The before output works but send html source of the page in the email.
"Jose" <ze@lastserv.com> wrote in message
news:du6r3v$mu2$1@news.codecharge.com...
>I see the email action but not how to send a grid or page. There is a way
>to do it by CSS or I have to code it manually using php mail?
>
> Thanks.
>
> --
> Ing. Jose Maldonado
> IT Manager
> Povocom Informatica
>
|
|
|
 |
Jose
|
| Posted: 03/03/2006, 8:29 AM |
|
Could be a solution:
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
"Jose" <ze@lastserv.com> wrote in message
news:du6r3v$mu2$1@news.codecharge.com...
>I see the email action but not how to send a grid or page. There is a way
>to do it by CSS or I have to code it manually using php mail?
>
> Thanks.
>
> --
> Ing. Jose Maldonado
> IT Manager
> Povocom Informatica
>
|
|
|
 |
Damian Hupfeld
|
| Posted: 03/03/2006, 9:57 PM |
|
Add Custom Code (obviously put your details in!) -
//Get HTML content from file
$content = "http://www.itng.com.au/about.php?email=".$newuser;
$message = implode("", file($content));
while ($row = mysql_fetch_assoc($result)) {
$to =$recipient;
//Prepare Mail
$subject = "Latest News from IT Next Generation";
$from = "Damian Hupfeld <damian.hupfeld@itng.com.au>";
$additional_headers = "From: $from\nReply-To: $from\nContent-Type:
text/html";
//Send Mail
mail ($to, $subject, $message, $additional_headers);
}
ini_restore("SMTP");
regards
Damian Hupfeld http://www.nexthost.com.au/services.php
"feha" <feha@forum.codecharge> wrote in message
news:54406f6ee38d49@news.codecharge.com...
> Check this:
> http://forums.yessoftware.com/posts.php?post_id=71378
>
> 
> _________________
> Regards
> feha
> Vision.To Design
> www.vision.to
> wowdev.com
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |