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)
 Attachment sent with Registration e-mail
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

dancarr
Starting Member

10 Posts

Posted - 13 August 2003 :  08:47:38  Show Profile
Does anyone know how to modify the admin_accounts_pending.asp page so that I can include a file as an attachment when the registration e-mail is sent to new users? I want to e-mail an attachment containing basic forum instructions to new members.

Thanks for your help.

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 13 August 2003 :  09:24:40  Show Profile
Why not include it in the body text of the e-mail? More chance of people reading it that way than if they have to open up an attachment.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 13 August 2003 :  09:34:59  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
quote:
Originally posted by MeTV

Why not include it in the body text of the e-mail? More chance of people reading it that way than if they have to open up an attachment.

Agreed. I'd prefer to get "basic instructions" in the email body than in an attachment.
Also, I'd put the info above the verification key (if email validation is on) so they have to go through the email.

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

dancarr
Starting Member

10 Posts

Posted - 13 August 2003 :  11:12:22  Show Profile
Thanks for your replies. I was going to include my instructions in the main e-mail but now its quite lengthy so I wanted to include a word file as an attachment. Does anyone know if I can do this by modifying the inc_mail.asp or admin_acounts_pending.asp files?

Thanks for your help.
Go to Top of Page

dancarr
Starting Member

10 Posts

Posted - 15 August 2003 :  10:51:40  Show Profile
Well I managed to figure it out myself and thought I'd post it in case anyone else wants to do the same thing.

This only works if you are using an administrator to approve forum registrations.

1. Make a copy of the inc_mail.asp file and call it something like inc_mailattachment.asp
2. Change the include line in admin_accounts_pending.asp to include the new inc_mailattachment.asp file instead.
3. Modify the inc_mailattachent file. Find the line of code that relates to your chosen method of e-mail. E.g. if it's CDONTS then find the section beginning:
Set objNewMail = Server.CreateObject ("CDONTS.NewMail")
insert the following line of code:
objNewMail.AttachFile server.mappath("file location"), "name of file"

And thats it.

Edited by - dancarr on 18 August 2003 06:20:03
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 15 August 2003 :  17:39:03  Show Profile
if I were you, I'd send it as rtf or pdf since not everyone has Word.

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07