The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
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?<
Does anyone remember what MOD or part of a MOD that may do this?<
Postet den
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.<
Postet den
I suppose what I am looking for is some sort of template to work from where there is code and function.<
Postet den
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.<
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.<
Postet den
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.<
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.<
Postet den
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.<
Postet den
Just don't forget to add enctype="multipart/form-data" to your form tag...<
Email Member
Message Member
Post Moderation
Filopplasting
If you're having problems uploading, try choosing a smaller image.
Forhåndsvis post
Send Topic
Loading...