Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 E-mail Attachments
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Etymon
Advanced Member

United States
2385 Posts

Posted - 21 June 2007 :  11:23:16  Show Profile  Visit Etymon's Homepage  Reply with Quote
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?<

Etymon
Advanced Member

United States
2385 Posts

Posted - 21 June 2007 :  11:26:02  Show Profile  Visit Etymon's Homepage  Reply with Quote
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.<
Go to Top of Page

Etymon
Advanced Member

United States
2385 Posts

Posted - 21 June 2007 :  11:27:36  Show Profile  Visit Etymon's Homepage  Reply with Quote
I suppose what I am looking for is some sort of template to work from where there is code and function.<
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 21 June 2007 :  11:54:20  Show Profile  Send ruirib a Yahoo! Message  Reply with Quote
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.<


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Etymon
Advanced Member

United States
2385 Posts

Posted - 21 June 2007 :  15:11:57  Show Profile  Visit Etymon's Homepage  Reply with Quote
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.<
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 21 June 2007 :  15:26:59  Show Profile  Send ruirib a Yahoo! Message  Reply with Quote
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.<


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 21 June 2007 :  17:28:04  Show Profile  Visit AnonJr's Homepage  Reply with Quote
Just don't forget to add enctype="multipart/form-data" to your form tag...<
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.13 seconds. Powered By: Snitz Forums 2000 Version 3.4.07