Jump to content

Recommended Posts

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]<?php

mail('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.
Link to comment
https://forums.phpfreaks.com/topic/11476-php-email-help/#findComment-43143
Share on other sites

[!--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]<?php

mail('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.
Link to comment
https://forums.phpfreaks.com/topic/11476-php-email-help/#findComment-43199
Share on other sites

[!--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?
Link to comment
https://forums.phpfreaks.com/topic/11476-php-email-help/#findComment-43200
Share on other sites

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@******.com
from: %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?
Link to comment
https://forums.phpfreaks.com/topic/11476-php-email-help/#findComment-43201
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.