Page 1 of 1

Send mail

PostPosted: Wed May 10, 2006 2:08 am
Author: DjPorkchop
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

PostPosted: Wed May 10, 2006 5:09 am
Author: Adrian Rea
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

Re: Send mail

PostPosted: Wed May 10, 2006 5:43 am
Author: DjPorkchop
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...

Re: Send mail

PostPosted: Wed May 10, 2006 6:14 am
Author: Dragonsys
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.

Re: Send mail

PostPosted: Wed May 10, 2006 6:34 am
Author: DjPorkchop
"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?

Re: Send mail

PostPosted: Wed May 10, 2006 7:22 am
Author: Dragonsys
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

Re: Send mail

PostPosted: Wed May 10, 2006 1:40 pm
Author: DjPorkchop
Got it figured out so far. Now just to figure out how to make the email work. <img>

Re: Send mail

PostPosted: Wed May 10, 2006 1:45 pm
Author: Dragonsys
show me what you got, I'll see if I can help you out with it some...

Re: Send mail

PostPosted: Wed May 10, 2006 4:04 pm
Author: DjPorkchop
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...

Re: Send mail

PostPosted: Thu May 11, 2006 5:53 am
Author: Dragonsys
1. That is due to PCP. look here instead - profilcp/def/def_userfuncs_viewonline.php

2. is there a link for the HelpDesk mod?

Re: Send mail

PostPosted: Thu May 11, 2006 12:16 pm
Author: DjPorkchop
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>