Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Smtp Server Is Not Working...?, I think there is a prob. with my SMTP server
runeco
post Nov 24 2006, 05:59 PM
Post #1


Newbie [Level 1]
*

Group: Members
Posts: 13
Joined: 22-November 06
Member No.: 33,855



I am posting this because I believe there is a problem with my SMTP server (at Trap17.com). I have been trying to send mail with PHP using the mail() function. Although PHP did not return any errors, none of the mail was actually sent... I have enclosed a copy of 2 different codes I have tried to use. Either I'm making a mistake with these codes or there js a problem with my SMTP server. If there is a mistake with my code, please tell me what is wrong. Otherwise, maybean admin can look at my SMTP server configuraton to make sure it works.

CODE 1
CODE
$email_to = "myemail@gmail.com"; //SEND MAIL TO HERE
$subject = "Testing SMTP Server";
$message = "This a test of the SMTP server on Trap17.com.";

mail($email_to, $subject, $message, 'From: ' . "runeco@runexchange.trap17.com" . "\r\n")



CODE 2
CODE
$to = "myemail@gmail.com";
$subject = "Testing SMTP Server";
$message = "This a test of the SMTP server on Trap17.com.";
$headers  = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= 'From: Runeco <runeco@runexchange.trap17.com>';
mail($to, $subject, $message, $headers);


Note To Admins: My Username is runeco and my subdomain is www.runexchange.trap17.com

This post has been edited by runeco: Nov 24 2006, 06:11 PM
Go to the top of the page
 
+Quote Post
CrazyRob
post Nov 24 2006, 07:05 PM
Post #2


ITS ALIVE.....MUHHHAAAA
*********

Group: Members
Posts: 532
Joined: 17-October 05
From: Chippenham UK
Member No.: 13,031



have you set the incoming and outgoing mail servers to mail.runexchange.trap17.com?
Go to the top of the page
 
+Quote Post
BuffaloHELP
post Nov 24 2006, 07:26 PM
Post #3


Desperately seeking "any key" to continue...
Group Icon

Group: Admin
Posts: 3,478
Joined: 23-April 05
From: Trap17 storage box
Member No.: 6,042



Have you checked your BULK or SPAM folder? If you are using AOL, YAHOO, MSN, HOTMAIL or GMAIL emails sent from Xisto mail server will land in your bulk or spam folder initially.

PLEASE PLEASE be sure to check *NOT SPAM* and move it to your inbox folder.

If none exists in your bulk or spam folder, post it here further and we can isolate the next issue you might have.
Go to the top of the page
 
+Quote Post
runeco
post Nov 25 2006, 12:11 AM
Post #4


Newbie [Level 1]
*

Group: Members
Posts: 13
Joined: 22-November 06
Member No.: 33,855



I thought that may have been the case, but when I checked my Spam Folder in Gmail it was not there. I have also tried to send it to a Lycos Mail account with the same problem. The code that I showed in the first post is being used in a PHP document after someone has signed up, it is then to send a confirmation e-mail to the account that they registered. I have not set any sort of e-mail account in my Trap17.com subdomain...will this disallow me from using the SMTP? Maybe somebody could post a step-by-step procedure on how to make a PHP code send an e-mail to someone's e-mail address using PHP and the Trap17.com SMTP server. Another thing could be that there may be something wrong the SMTP configuration on my account. I would appreciate any help on the matter, Thank You.
Go to the top of the page
 
+Quote Post
Albus Dumbledore
post Nov 26 2006, 10:22 AM
Post #5


Hidden Secrets can't be told threw just words. One must feel what the other feels to truely understand...
**************

Group: Members
Posts: 1,523
Joined: 8-January 06
From: Sacramento California
Member No.: 16,756



runeco, are you meaning for this mail feature to be included in like a member's area script? or just a normal script that would make something like i have on my site

http://hogwartsmagic.net/feedback.php that when the user clicks submit, it automatically gets e-mailed to you or whatever e-mail address you put in a part of the scrip

If ^^ that is what you are looking for then i can post the code here.

This post has been edited by Albus Dumbledore: Nov 26 2006, 10:25 AM
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. My File Manager Is Working(2)
  2. Problems With Outlook Express(7)
  3. Genuine Help With Smtp And Php Mail() Function(3)
  4. Toolbar Not Working (adobe Dreamweaver)(7)
  5. D-22 Shoutbox Not Working [resolved](3)
  6. Web/ftp Stats Not Working [resolved](2)
  7. .php?id=html Not Working(15)
  8. Awstats Not Working(2)
  9. Is The Server Ok?(1)
  10. Help: Internet Server Error(20)
  11. Bandwidth Counter Not Working(17)
  12. Changes In Phpmyadmin(0)
  13. Have There Been Any Changes?(1)
  14. My Subdomain Not Working(3)
  15. The Cgi Centre In Cpanel Isn't Working!(4)
  1. Css Problem On Website(8)
  2. Whats The Server?(3)
  3. Server Status Link Doesn't Work(1)
  4. Wordpress Backup For A Server Move(2)
  5. Name Server Question(3)
  6. Server Issues? Web Site Down? Cpanel Access?(48)
  7. Gamma Servers' Problem(1)
  8. Site Down After Server Transfer(3)
  9. File Manager Not Working(2)
  10. I Cant Access The Server!(1)
  11. Backup Not Working [resolved](5)
  12. Gallery Not Working(2)
  13. Mysql Database Not Working(3)


 



- Lo-Fi Version Time is now: 7th October 2008 - 04:27 AM