Send mail

Mods etc.

Moderator: Integra Moderator

Send mail

PostAuthor: DjPorkchop » Wed May 10, 2006 2:08 am

I really need to get with someone that knows something about cgi or php sendmail. Like Integramod uses. can anyone point me in the right direction for getting this to work correctly? I need it for a form on my site. as now all i know how to do is use the dreaded mailto: and it stinks. It auto opens Outlook express.... <img> need I say more? lol Didn't think so....I have some sql questions too, but that may be asking to much at once. Any info I can obtain would be greatly appreciated.....Thx in advance.....Ray
Last edited by DjPorkchop on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
DjPorkchop
Administrator
Administrator
 
Posts: 1594
Likes: 136 posts
Liked in: 26 posts
Images: 12
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,590.25
Location: Illinois
IntegraMOD version: phpBB2x

PostAuthor: Adrian Rea » Wed May 10, 2006 5:09 am

There are many php based forms you could use and frame them within a page, these can then mail the form to you on submit.

A
Last edited by Adrian Rea on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Adrian Rea
Sr Integra Member
Sr Integra Member
 
Posts: 1263
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 12, 2006 12:59 am
Cash on hand: 0.00

Re: Send mail

PostAuthor: DjPorkchop » Wed May 10, 2006 5:43 am

Unfortunately, I cant find one that I can get to work. I dont understand cgi or sendmail to save my life. I found 1 that I got to work half way and that was it. <img> Have any good links for me? lol have a nice day...
Last edited by DjPorkchop on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
DjPorkchop
Administrator
Administrator
 
Posts: 1594
Likes: 136 posts
Liked in: 26 posts
Images: 12
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,590.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: Send mail

PostAuthor: Dragonsys » Wed May 10, 2006 6:14 am

form2mail works really well, as far as CGI scripts go.
http://www.kessels.com/Form2Mail/index.html
There are also some examples of using the PHP mailer on the above site.

You can use the "Add a blank page" MOD to get all the phpBB/IM stuff into the file (for permissions and such) the use your form to fill out the page (then you would have the ability to use the built in mailing system). Or you can have the form outside of IM and just use CGI.
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: Send mail

PostAuthor: DjPorkchop » Wed May 10, 2006 6:34 am

"Dragonsys";p="5332" wrote:You can use the "Add a blank page" MOD to get all the phpBB/IM stuff into the file (for permissions and such) the use your form to fill out the page (then you would have the ability to use the built in mailing system). Or you can have the form outside of IM and just use CGI.


Wow!!! I can use the built in one? That would be awesome for sure!!!! Im gonna have to have a look at this blank page mod......Thx for this tid bit of info Dragonsys!!!.........Ray

Oh yeah, where can I find the add a blank page mod for IM 1.4.0?
Last edited by DjPorkchop on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
DjPorkchop
Administrator
Administrator
 
Posts: 1594
Likes: 136 posts
Liked in: 26 posts
Images: 12
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,590.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: Send mail

PostAuthor: Dragonsys » Wed May 10, 2006 7:22 am

Blank Page Template
- http://www.phpbb.com/phpBB/viewtopic.php?t=142506

"MWE_001";p="5335" wrote:Wow!!! I can use the built in one?

I'm not saying it'll be easy.. might be easier to use something from the link I posted earlier..... PHP mailer or so
Last edited by Dragonsys on Wed May 10, 2006 1:45 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: Send mail

PostAuthor: DjPorkchop » Wed May 10, 2006 1:40 pm

Got it figured out so far. Now just to figure out how to make the email work. <img>
Last edited by DjPorkchop on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
DjPorkchop
Administrator
Administrator
 
Posts: 1594
Likes: 136 posts
Liked in: 26 posts
Images: 12
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,590.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: Send mail

PostAuthor: Dragonsys » Wed May 10, 2006 1:45 pm

show me what you got, I'll see if I can help you out with it some...
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: Send mail

PostAuthor: DjPorkchop » Wed May 10, 2006 4:04 pm

Well, I have a small issue....Inthe Blank page mod, it says this:

Code: Select all
#-----[ OPEN ]------------------------------------------ # viewonline.php  # #-----[ FIND ]------------------------------------------ #                 case PAGE_FAQ];                     $location_url = "faq.$phpEx";                     break;  # #-----[ AFTER, ADD ]------------------------------------------ #                 case PAGE_TEMPLATE:                     $location = $lang['Template'];                     $location_url = "template.$phpEx";                     break;  


I dont know about your viewonline.php, but mine does not contain this code........

Here is what I have so far.

join.php

Code: Select all
<php>set_filenames(array(         'body' => 'join.tpl') );  $template->pparse('body');  // standard page footer include($phpbb_root_path . 'includes/page_tail.'.$phpEx);  ?>


join.tpl

[code]<DOCTYPE><html><head>  <title>MidWest Exoress Virtual Airlines</title>    </head><body><body><FORM>  <p><center><h1>Welcome to Midwest Express Virtual Airlines</h1></center></p><br>  <p><center> These are the first steps to joining up with us.</center></p>  <p>1. First you must download and install a communications program we use to communicate called TeamSpeak. You can aquire this free download @ <a href="http]

I added the code: <FORM> because I saw it on the helpdesk mod. Trying to simulate how it works, but my knoweledge onthis is not good. I dont see anything in join.php that would send a mial out. I noticed in helpdesk, that Amod has added sql for emails....I'm 100% lost..lol.....Please help...
Last edited by DjPorkchop on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
DjPorkchop
Administrator
Administrator
 
Posts: 1594
Likes: 136 posts
Liked in: 26 posts
Images: 12
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,590.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: Send mail

PostAuthor: Dragonsys » Thu May 11, 2006 5:53 am

1. That is due to PCP. look here instead - profilcp/def/def_userfuncs_viewonline.php

2. is there a link for the HelpDesk mod?
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: Send mail

PostAuthor: DjPorkchop » Thu May 11, 2006 12:16 pm

ok I'll get the edit done inthe correct pcp file....The link I have for help desk is http://phpbb-tweaks.com/dm_main.html-mo ... 19-file-87

I also tried figuring out how Integramod uses it's built in system and it is eluding me. Was up almost all night with it and no such luck.... <img>
Last edited by DjPorkchop on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
DjPorkchop
Administrator
Administrator
 
Posts: 1594
Likes: 136 posts
Liked in: 26 posts
Images: 12
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,590.25
Location: Illinois
IntegraMOD version: phpBB2x


Return to IntegraMOD Modifications

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]