mrdee
Dec 5 2008, 09:05 PM
| | I have a site hosted on another free hosting company's server. They also offer loads of features such as MySQL, PHP, Email and so on.
I also have received a free co.cc domain. However, the email is not very reliable for receiving email. According to the hosting company they do allow you to use a socket for SMTP, and they accept a GMail server for this.
The question is now: can I set the SMTP details in my .htaccess file so that PHP recognises and uses it? If so, can anyone tell me how this has to be done? All help will be greatly appreciated.
|
Comment/Reply (w/o sign-up)
veerumits
Dec 5 2008, 11:18 PM
The idea i here produce. In PHP.ini file you edit the entry smtp=smtp.my.net.server me@localhost smtp_port = 25 sendmail_from = <YourmailID> actualy these entry are required to send the mail to any mail client from mail server. but what you expect that you want to set the SMTP details in .htaccess file then PHP recognises and uses it, i dont have any idea about it. but external entry in .htaccess file related to SMTP is lover chances. actualy all information reside on the mail server. thanks
Comment/Reply (w/o sign-up)
(G)Charlie Somerville
Jan 6 2009, 03:38 AM
use the ini_set php function.
ini_set("SMTP","your.Smtp.Server");
ini_set("smtp_port","25");
-reply by Charlie Somerville
Comment/Reply (w/o sign-up)
networker
Jan 12 2009, 06:25 PM
Of course,all this would depend on if you had permission to change the ini file.I don't think we do here at trap17. If you don't hace permission you won't be able to change it in code. I know you're on another server though.Best of luck.
Comment/Reply (w/o sign-up)
(G)mona
Mar 7 2009, 08:13 AM
Descriptive Title for Opinion/Feedback
Setting An Smtp Server In Php.ini
I DONE THE SAME THING THEN ALSO MY PROBLEM IS NOT STARED
-reply by mona
Keywords:
Comment/Reply (w/o sign-up)
k_nitin_r
May 6 2009, 11:41 PM
QUOTE ((G)mona @ Mar 7 2009, 12:13 PM)  Descriptive Title for Opinion/Feedback Setting An Smtp Server In Php.ini
I DONE THE SAME THING THEN ALSO MY PROBLEM IS NOT STARED -reply by mona Keywords: Hi! Can you post the settings that you've made to the php.ini file, and the SMTP settings that you use for your email client (such as Outlook Express). Often, you might also have to contact your network staff to add your server's IP address to their 'relay allowed' list, which enables to you send email outside your domain. It really would help if you could describe the environment in which you've deployed your PHP application. Regards, Nitin
Comment/Reply (w/o sign-up)
Similar Topics
Keywords :
- Dohwow
4 my private server (2)
A Question About Php Mail
A question about how php send mail using which email account in SMTP s (1) I have code my website with send mail feature, I just notice that everytime i send out email, it
uses gamma.xisto.com as the sender, but the fact is I want to use my own email account that exist in
trap17, suppose I create email account name webmaster@innosia.trap17.com then how exactly can I send
an email that uses this email account? So that when user replying the email, the email can be sent
to my inbox not the xisto.gamma? How to configure this? Anyone knows? I know that php uses this
mail(to,subject,body,header) function to send mail, and we can even create fake ....
Php Without Server
(16) I have just recently bought a laptop and would like to use PHP for local reasons on it, but I am not
allowed to setu p a local webserver because it would slow down our already crappy internet. Is there
a way for me to run local PHP without using Apache or any other webserver for purely local uses.....
Php Pages Permission On Apache Server
PHP pages permission on Apache Server (1) Hello, I want to know what permissions for PHP pages should be given on Apache web server so that
PHP pages can be executed. If PHP pages are in a folder, what permissions should be given for that
folder? ....
Error On Emailer.php & Smtp.php At Phpbb
ERROR on emailer.php & smtp.php at PhpBB (2) Are you use free webhosting??? smtp.php and emailer.php are general error on CMS like phpBB . It
make email verification disabled.Why??? because free webhosting not allow us use smtp port .they
afraid their server will atacking with spam !! so what solution to solve this problem?? You can
search on google or join at phpBB forum !!! but if it can not solve all this problem it only able 1
trick ..you must download emailer MOD at www.phpbbhacks.com to inactive emailer.php or smtp.php ....
Can Php Interact With A Visual Basic App On A Server
(10) I am currently making a game. And I want to use a command through php to ineract with a visual
basic app on my server. Is it possible? and how?....
Want To Send Mail But Smtp Disabled, Help Me!
(7) heyy...I have a problem, I have an account in another hosting service, but the SMTP and sendmail
was disabled for my account. and I want to send mail to all people who join my site (with php script
to send that mail), so I can't send mail to them. for more information, my operating sistem is
Linux and php version 4.4.1. I hear when drupal send e-mail without SMTP, is that true??? and can
I send mail when I already installed Drupal in my hosting service???? Please give me solution,
how can I send an e-mail when my sendmail and SMTP disabled!!!!....
Wappyftp V1.00
upload to server via ftp from your mobile phone :-) (8) wappyFTP v1.00 by wappy --- site: http://cult.trap17.com mail: admin@cult.trap17.com --- -Welcome
to wappyFTP, with this wap script your users can upload files directly to their server via FTP from
a mobile phone! --- -Its extremley easy to install, open index.php and put the name of your site
instead of YOURSITE.COM -Upload the folder wappyFTP_v1.00 to the root directory of your web server
-Link to it like wappyFTP_v1.00/index.php -Its all done ENJOY --- YOU MAY DISTRIBUTE AND/OR EDIT
THIS SCRIPT BUT DO NOT REMOVE THE AUTHORS NAME! --- ©2006-2007 wappyCULT /tongue.g....
I Need Webmail On My Server
(so admins on my site can access it) (0) Right now, if i go to the cpanel of my site, I can access webmail of any of the email addresses I
have. Unfortunatly, I would prefer it if the administrators did not know the password to the
cpanel. I want them to be able to access mail from 1 of the email accounts. I have tried letting
all the admins access the account through their own cliants, but it became a mess, not knowing wich
admins have responded to which emails, because most emails are hosted localy when received by
cliants such as outlook. Then I had the idea of making one page, with webmail on it. Where....
Php Server Time
(4) i think i may asked this question awhile back but i never really got it solved. ok..i had a block
that told me the server time info or whatever. and the GMT wus at 00:00 i wanted to change it to
-5:00 but i didnt know how, so how can i change it? im not sure of the codes in the php to change it
to the right GMT time becuase im always gettn the wrong times n day....
Logging Dowload Files From Your Server Onto A Html File
(1) Well, i had the idea of logging the downloads from my web in a html file few weeks ago, and i solved
it with a lil php page included in my homepage. You could name the links with a name like
"download.php?file=filename.ext" and then, in the download.php put the next code: (well you put
the html and head and body tags if u want, i only write the php here) CODE if (isset($_GET ))
$file=$_GET ; //so it gets the GET data from url (file=filename.ext); $ip=$_SERVER ;
$file=fopen('download_log.html','a'); $date=date('d-m-y H:i:s'); $text="
".$....
Parsing Html As Php
and XAMPP as the server version on Windows (7) On my Trap17 account here, I have an .htaccess file with the following declaration which (I think)
forces all html files to be parsed by the PHP Parsing engine and therefore I can insert snippets of
php scripts into html files. CODE AddType application/x-httpd-php .html .htm However, when I
add an .htaccess file to the local directory of the version of XAMPP on my local machine, it fails.
I have tried to add the .htaccess file to the htdocs folder and elsewhere, but it still doesn't
work to parse html through the php parser. Any ideas on how to get these htm....
Email Server Help Please
I need noob detailed help on setting up a email server on windows XP (0) Hello I would like to say thank you for any help you might give me. I'm new to Apache / PHP and
MySQL I have all them up and running propertly I think. I want to make a PHP online game and I need
to set up an email server so I can have and authincation system. When the player creates an account
I want the computer to email the player a link the have to click on to make there account active.
I have a Comcast 8mbits broadband connection My server is running at http://192.168.1.105 My
PHPinfo file is http://192.168.1.105/phpinfo.php My FormMail File http://192....
Does Gd Use Much Server Ressources?
(0) Well, my topic title is pretty descriptive. Does GD use much server ressources, is it heavy to run,
or is it light and flawless just like a normal PHP script? If I use GD much, should the images be
cached? And by the way, I don't know how to cache images. I know how to create them, but I
can't manage to store them in a folder, and then check that folder to see if the file is already
cached. If it's not, the PHP script will create it.....
Server Time Help
(4) My Webpage If you check here in my site in my Login block called "user info" at the bottom it
tells u the "server time". Well that server time for me is wrong. This is what is displayed QUOTE
Server Time · Time 14:06:53 · Date 19 Feb 2006 · Timezone +0000 The Date is right but the
Timezone and Time are just way off. My Timezone should be -500. What do i have to do to fix this? Is
it in my cpanel or do i have to go edit this block itself??....
Setting Up A Fanlisting
Can someone help me? (3) I'm starting a fanlisting (approved by TFL.org) but I am totally stuck. I know HTML and
JavaScript really well, but I'm new to PHP. I've downloaded phpfanbase to use, does anyone
have a good tutorial (for complete dummies) that I can follow? Or even some tips on how to
incorporate the PHP code within my HTML. The design, layout and graphics etc are finished. It's
just this darn PHP stuff! I'm pulling my hair out! ....
Php And Asp.net Form
server control html component (6) does this sort of feature can be done in php. http://www.w3schools.com/aspnet/aspnet_forms.asp or
how and what are the differences.. thanks /huh.gif' border='0' style='vertical-align:middle'
alt='huh.gif' /> ....
Php & Apache Server
PHP & Apache Server (7) I want to install PHP. For this I have downloaded Apache Server. But I am not able to configure it.
If anybody knows how to configure it, please let me know. Without Apache Server I am not able to
configure PHP. I have also tried one of the installation file available on internet which
automatically performs all installation tasks, but it also does not solve my problem.....
I'm setting up punBB
Why won't the db server work? (2) What is it?....
Looking for Setting, An, Smtp, Server, In, Php.ini
|
Searching Video's for Setting, An, Smtp, Server, In, Php.ini
See Also,
|
advertisement
|
|