Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

String as Mail Attachment

Status
Not open for further replies.

Sleidia

Technical User
May 4, 2001
1,284
FR
Good morning to everyone.

I've seen many nice explanations of how to send mail attachments
in the FAQ section and many other places, but there is a useful
information I can't find.
I am just wondering how to send an attachment from a string
instead of an already existing file.
Thus, if the variable $string = "toto is fat and ugly";
then, "toto is fat and ugly" would be the text
displayed in the attached text file.
It is possible?

Thanks a lot to the one who will spend a little bit of his/her precious
time responding to this posting.
Have a good day.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top