CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Sending mail with an attachment

Print topic Send  topic

Author Message
chris

Posts: 16
Posted: 05/28/2004, 7:48 AM

WIN XP / PHP / IIS /MYSQL

I wrote an application that is sending emails, but how can I include attachments. I guess I have to encode them in the message-body. Are there any utilities/functions/plug-ins .... in PHP or CC I can use ?

thx,


Chris
View profile  Send private message
peterr


Posts: 5971
Posted: 05/28/2004, 11:37 AM

Possibly Google would help: http://www.google.com/search?q=php+email+attachments
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
chris

Posts: 16
Posted: 06/01/2004, 11:50 AM

Peterr,

thx, I found what I needed. But I have another question; I went through several pieces of interesting code allowing to send email +attachments.
After testing it, I like to include the php-code in the code generated by CCS; where do I put the include of the special mail code ? Is there a special area foreseen, to add in includes ?

thx,


CHris
View profile  Send private message
peterr


Posts: 5971
Posted: 06/01/2004, 12:19 PM

I believe that most CCS users put the global functions (common code) at the end of the Common.php file. Then you could call those functions from any page using the Events.
If you intend to use one function on just one page then you could place it inside the Page_events.php script, somewhere between the events, or just place the code without creating a function directly in the event.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.