T O P I C R E V I E W |
Etymon |
Posted - 21 June 2007 : 11:23:16 I had a request for a MOD to allow e-mail attachments to be appended to out-going e-mail from a member's profile being sent by a member who is logged in.
Does anyone remember what MOD or part of a MOD that may do this?< |
6 L A T E S T R E P L I E S (Newest First) |
AnonJr |
Posted - 21 June 2007 : 17:28:04 Just don't forget to add enctype="multipart/form-data" to your form tag...< |
ruirib |
Posted - 21 June 2007 : 15:26:59 I was not thinking about user interface, cause that's not the most important thing. Use an <input type=file...> form element if you need to.< |
Etymon |
Posted - 21 June 2007 : 15:11:57 Thanks Rui!
I guess what I meant was a more of a form rather than a template. Does the attachment take an input along with a Browse button for uploading/attaching the file? I know I could play with the answer, but just wanted to get the basic idea to look at somewhere.< |
ruirib |
Posted - 21 June 2007 : 11:54:20 There is no template, really. You need to do as the post says, find the component you want to use and see how attachments can be added when using it. Then just tweak the Snitz code to do it.
I usually define a variable, say strAttach="c:\...."
Then change inc_mail.asp to test strAttach. if it's not empty then use the appropriate code to add the attachment for the email component in use.< |
Etymon |
Posted - 21 June 2007 : 11:27:36 I suppose what I am looking for is some sort of template to work from where there is code and function.< |
Etymon |
Posted - 21 June 2007 : 11:26:02 I found this topic (http://forum.snitz.com/forum/topic.asp?TOPIC_ID=60185&SearchTerms=mail+attachment), but it does not refer to a MOD.< |