how do i incorporate "smtp_port" into mail($email, $subject, $strip1,"From: $from_email\nReply-To: $replayto\nContent-Type: text/plain");
how do i incorporate "smtp_port" into mail($email, $subject, $strip1,"From: $from_email\nReply-To: $replayto\nContent-Type: text/plain");
Since you put smtp_port, I'm guessing you mean outside the ini file.
You should be able to do,
Code:ini_set('smtp_port', 25);
o.O why aren't you running your smtp server on the standard port?
But to change it you have to edit your php.ini as described in "Runtime Configuration" of: http://www.php.net/mail
I was quicker on the draw. :P
thank you guys![]()
Hmmm...
[mail function]
; For Win32 only.
SMTP = "localhost"
smtp_port = 25
; For Win32 only.
;sendmail_from = me@localhost.com;
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
sendmail_path = "/usr/sbin/sendmail -t -i"
................
So I edited the sendmail configs smtp port to 2500
And in ssh I did:
ssh -L 2500:localhost:25 @OTHERSERVER
Since I'm trying to tunnel it through that but the headers are still coming from my server -_-
cpost i enjoy your little adventure into hacker/spammer land but you seriously need to go to kindergarten first
im not doing awful thats the only thing i need :\ lol
Bookmarks