egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

need email script

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
Psyfire
Voice


Joined: 05 Nov 2006
Posts: 36

PostPosted: Sun Nov 05, 2006 12:35 pm    Post subject: need email script Reply with quote

hi,

i need a simple e-mail script, but not over perl sendmail. i need something like smtp where i can enter my email account data. i want to send emails via the following command:

!mail <email-adress> <subject> <message>

subject would be optional.

can someone do this for me?
Back to top
View user's profile Send private message
ZEXEL
Halfop


Joined: 27 Jun 2006
Posts: 45

PostPosted: Sun Nov 05, 2006 12:45 pm    Post subject: Ups! Reply with quote

Hey, just try to searching at:
h**p://www.egghelp.org/tcl.htm --- use keyword "email"
and you will be finded what you want...
h**p://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&id=1316 --- try this! Wink
_________________
.:[ Knowledge Is The Power ]:.
Back to top
View user's profile Send private message Visit poster's website
Psyfire
Voice


Joined: 05 Nov 2006
Posts: 36

PostPosted: Sun Nov 05, 2006 12:57 pm    Post subject: Reply with quote

This one I got before but I said not over perl sendmail. My provider said that he cant install it because of their security.

I need a simple script where I can add smtp Wink
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sun Nov 05, 2006 3:52 pm    Post subject: Reply with quote

Either one of these should suit:

Wacko's Email Mod (uses dcc bind)
http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&id=355

Email.tcl (uses pub bind)
http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&id=1316

As far as using "perl sendmail" I don't know what that is. The email.tcl does use sendmail, but this is simple enough to change to use the mailer you have available, just change the line:

set email [open "| /usr/sbin/sendmail -f $mail(address) -t" "w"];

to use the mailer you have available, with the parameters that mailer uses (which should be pretty much the same, smtp and mailers generally use standardized commandlines)

I would look both scripts over and change them as necessary. The script that uses dcc should not be that hard to modify to use a pub bind if that is what you prefer.

Unfortunately, I am only familiar with sendmail myself, or I would offer to modify the script to use qmail or exim or whichever other mailer you had available. Check the appropriate man pages for your mailer's commandline options.
Back to top
View user's profile Send private message
Psyfire
Voice


Joined: 05 Nov 2006
Posts: 36

PostPosted: Sun Nov 05, 2006 7:36 pm    Post subject: Reply with quote

Wackos Email Mod doesnt work, I tried it. (its from 1998..)

set email [open "| /usr/sbin/sendmail -f $mail(address) -t" "w"];

This is the problem. I have not usr/sbin/sendmail because my provider wont install it. The security risk is too high they said. Cause if someone will spam with their server, they will get a problem.
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sun Nov 05, 2006 10:34 pm    Post subject: Reply with quote

That's why I said to change the mailer line to use the mailer you have available. :/

Which mailer do you have?

And what was the error from the script?

I've never had a problem running sendmail, but that's a personal choice obviously.
Back to top
View user's profile Send private message
Psyfire
Voice


Joined: 05 Nov 2006
Posts: 36

PostPosted: Mon Nov 06, 2006 3:44 pm    Post subject: Reply with quote

I dont find any mailer in my ftp, so I dont think I got one.

If I use the email.zip script, I send some emails but no one will come to my mailbox Rolling Eyes
Back to top
View user's profile Send private message
crux
Voice


Joined: 05 Jan 2007
Posts: 35
Location: Myanmar

PostPosted: Sat Jan 06, 2007 9:12 pm    Post subject: Reply with quote

This tcl doesn't work for normal users? coz in my eggdrop only bot owner (with nm flags) can use public commands. I wanna be it for my users, how to correct it, please help me..


Thanks you.
_________________
Myanmar Chat Online
MCO Chat
Back to top
View user's profile Send private message Visit poster's website
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sun Jan 07, 2007 3:46 pm    Post subject: Reply with quote

Which script are you refering to nyilad?
Back to top
View user's profile Send private message
crux
Voice


Joined: 05 Jan 2007
Posts: 35
Location: Myanmar

PostPosted: Sun Jan 07, 2007 5:44 pm    Post subject: Reply with quote

rosc2112 wrote:

Email.tcl (uses pub bind)
http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&id=1316



This one bro.
_________________
Myanmar Chat Online
MCO Chat
Back to top
View user's profile Send private message Visit poster's website
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Mon Jan 08, 2007 1:35 am    Post subject: Reply with quote

In that script, you want to change the [matchattr $handle mn] parts, to use whichever permissions flags you want.
Back to top
View user's profile Send private message
crux
Voice


Joined: 05 Jan 2007
Posts: 35
Location: Myanmar

PostPosted: Mon Jan 08, 2007 7:40 am    Post subject: Reply with quote

rosc2112 wrote:
In that script, you want to change the [matchattr $handle mn] parts, to use whichever permissions flags you want.


I changed like that, but doesn't work for normal users.

Code:
[matchattr $handle -|-]

_________________
Myanmar Chat Online
MCO Chat
Back to top
View user's profile Send private message Visit poster's website
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Mon Jan 08, 2007 6:21 pm    Post subject: Reply with quote

Thats because the script isn't set up to pass the channel name to the matchattr command, try setting the matchattr to [matchattr $handle f] and then give your users the global +f flag (I would NOT allow all/unknown users access to this script!)
Back to top
View user's profile Send private message
crux
Voice


Joined: 05 Jan 2007
Posts: 35
Location: Myanmar

PostPosted: Mon Jan 08, 2007 6:26 pm    Post subject: Reply with quote

rosc2112 wrote:
Thats because the script isn't set up to pass the channel name to the matchattr command, try setting the matchattr to [matchattr $handle f] and then give your users the global +f flag (I would NOT allow all/unknown users access to this script!)


thanks bro
_________________
Myanmar Chat Online
MCO Chat
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber