Forum_Mod Posted June 8, 2006 Share Posted June 8, 2006 when anyone replies to a thread or receives a PM they used to get an email from admin@*****.com saying they had a response to their thread but that has stopped for some reason. What has happened? Quote Link to comment https://forums.phpfreaks.com/topic/11476-php-email-help/ Share on other sites More sharing options...
poirot Posted June 8, 2006 Share Posted June 8, 2006 You mean here in this forum or on your site? If it's on your server, it may be a server related problem. Try to code a test script yourself and make it call the mail() function. If you get no emails whatsoever, contact your server admin.If not, there may be a problem with your script. To test mail():**********1. Create a file called test.php (use Notepad)2. Copy and paste the code below [be sure to set the correct email][code]<?phpmail('youremail@someplace.com', 'Testing php mail()', 'This is a test, blah blah blah');?>[/code]3. Save the file, upload it, and access it using the browser. (ie.: [a href=\"http://www.example.org/test.php)\" target=\"_blank\"]http://www.example.org/test.php)[/a]4. Check if you get any email after executing the script (check bulk folder too)5. Try different emails, it may also be a problem with your email provider. Quote Link to comment https://forums.phpfreaks.com/topic/11476-php-email-help/#findComment-43143 Share on other sites More sharing options...
Forum_Mod Posted June 8, 2006 Author Share Posted June 8, 2006 [!--quoteo(post=381351:date=Jun 8 2006, 08:28 AM:name=poirot)--][div class=\'quotetop\']QUOTE(poirot @ Jun 8 2006, 08:28 AM) [snapback]381351[/snapback][/div][div class=\'quotemain\'][!--quotec--]You mean here in this forum or on your site? If it's on your server, it may be a server related problem. Try to code a test script yourself and make it call the mail() function. If you get no emails whatsoever, contact your server admin.If not, there may be a problem with your script. To test mail():**********1. Create a file called test.php (use Notepad)2. Copy and paste the code below [be sure to set the correct email][code]<?phpmail('youremail@someplace.com', 'Testing php mail()', 'This is a test, blah blah blah');?>[/code]3. Save the file, upload it, and access it using the browser. (ie.: [a href=\"http://www.example.org/test.php)\" target=\"_blank\"]http://www.example.org/test.php)[/a]4. Check if you get any email after executing the script (check bulk folder too)5. Try different emails, it may also be a problem with your email provider.[/quote]It's on my forum.When anyone replys to a thread or gets a PM the "admin@*******.com sends them an email telling them of this. this is not happening now and I don't know why. Quote Link to comment https://forums.phpfreaks.com/topic/11476-php-email-help/#findComment-43199 Share on other sites More sharing options...
poirot Posted June 8, 2006 Share Posted June 8, 2006 [!--quoteo(post=381407:date=Jun 8 2006, 07:24 AM:name=Forum Mod)--][div class=\'quotetop\']QUOTE(Forum Mod @ Jun 8 2006, 07:24 AM) [snapback]381407[/snapback][/div][div class=\'quotemain\'][!--quotec--]It's on my forum.When anyone replys to a thread or gets a PM the "admin@*******.com sends them an email telling them of this. this is not happening now and I don't know why.[/quote]What happens if you try what I had suggested? Quote Link to comment https://forums.phpfreaks.com/topic/11476-php-email-help/#findComment-43200 Share on other sites More sharing options...
Forum_Mod Posted June 8, 2006 Author Share Posted June 8, 2006 I havent done it as I'm not 100% where to upload it to. When I go into the forum provider page, then to mail set-up there is no accounts set-up.So I go to: Auto-responder Maintenance[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]When configuring an autoresponder you can use the following tags to insert information into the message that is returned to the user:%subject% The subject of the message that was sent to the autoresponder. %from% The sender of the message that was sent to the autoresponder. %email% The sender's email from the message that was sent to the autoresponder. [/quote]then set-up:email: Admin@******.comfrom: %from%subject: %subject%I thought if i created this with the tag '%' it should go to them when anyone responds to a thread they should get an email telling them of this.Could it be the SMTP and port 25. I have heared that they somtimes get deleted, and if so how can I replace it? Quote Link to comment https://forums.phpfreaks.com/topic/11476-php-email-help/#findComment-43201 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.