webjunk
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Contact Form 7] Won't connect to smtp serverShould have mentioned that if you want to see if the change took effect, run the script again with phpinfo and see if sendmail_path comes up with the new setting.
The php.ini should be in the root of the WEB-ACCESSIBLE directory but may have to be in your home directory.Forum: Plugins
In reply to: [Plugin: Contact Form 7] Won't connect to smtp serverIf you have a php.ini file already just edit that one. Otherwise create a php.ini
Try each of the below in php.ini and then retry my original mail() script.[mail function] sendmail_path = /usr/sbin/sendmail -t -iThen replace the second line with each of these:
sendmail_path = /usr/bin/sendmail -t -i
sendmail_path = /bin/sendmail -t -iMy suspcion is maybe the path to sendmail is wrong. These are common paths to sendmail. sendmail is the actual transfer agent (used by pHP mail) to send an email. If it is not found you will not receive an error and of course no email can be sent.
Forum: Plugins
In reply to: [Plugin: Contact Form 7] Won't connect to smtp serverUse this version of my mail script:
<? ini_set ("sendmail_path", "/usr/sbin/sendmail"); mail('tester@YOUREMAIL.COM', 'Test of php email', 'This is only a test'); ?>and then also try:
<? ini_set ("sendmail_path", "/usr/bin/sendmail"); mail('tester@YOUREMAIL.COM', 'Test of php email', 'This is only a test'); ?>Forum: Plugins
In reply to: [Plugin: Contact Form 7] Won't connect to smtp serverFrom phpinfo do you see?:
Path to sendmailThe sendmail_path does not look right to me. Maybe its wrong
Forum: Plugins
In reply to: [Plugin: Contact Form 7] Won't connect to smtp server‘tester@YOUREMAIL.COM’ is the TO: fields so it must be where you can receive email.
The function is:
mail(To,Subject,MessageBody,Headers,Parameters)Only the first three are required. Sometimes you need the sender address (the -f) set to a real known address to avoid outgoing spam filters.
Forum: Plugins
In reply to: [Plugin: Contact Form 7] Won't connect to smtp serverSince you have SSH now. Connect using SSH and run the script from that login. Might tell us if its a user permissions issue.
Also, make a php script that contains this:
<?php phpinfo(); ?>DO not leave this script online and do not post the whole thing on here! It can give info that could allow someone to break into your site!!! What we want is just these values:
Path to sendmail
sendmail_from
sendmail_path
Also SMTP and SMTP_portForum: Plugins
In reply to: [Plugin: Contact Form 7] Won't connect to smtp serverMake a small change to the test script:
<? mail('tester@YOUREMAIL.COM', 'Test of php email', 'This is only a test', 'From: website@YOURDOMAIN.COM', '-fwebsite@YOURDOMAIN.COM'); ?>Make sure the two website@YOURDOMAIN.COM addresses are a valid email account on that server. No you will not see any results after running the script. Its as basic as you can get. Just using PHP mail to send an email. either you receive it or not. It just eliminates other issues.
Forum: Plugins
In reply to: [Plugin: Contact Form 7] Won't connect to smtp serveryou are running under some Linux/UNIX variant
Forum: Plugins
In reply to: [Plugin: Contact Form 7] Won't connect to smtp serveryou can not be on linux and windows at the same time
Forum: Plugins
In reply to: [Plugin: Contact Form 7] Won't connect to smtp serverAlso are you on Windows or Linux hosting?
Forum: Plugins
In reply to: [Plugin: Contact Form 7] Won't connect to smtp serverLet’s Start from basics:
First create a php file with the following. Call it whatever you want but DO NOT POST IT’S NAME HERE!!! Just try it yourself then delete it.<? $headers = 'From: website@YOURDOMAIN.COM'; mail('tester@YOUREMAIL.COM', 'Test of php email', 'This is only a test'); ?>Lastly. Are you keeping this domain name? It expires in three days.
Forum: Plugins
In reply to: [Plugin: Contact Form 7] Won't connect to smtp serverDo not understand the two support thing. Maybe you should consider another host?
If they told you to be using PHP mail then that is what you should be using and we should get that working. What problem do you have with that? Error messages?Forum: Fixing WordPress
In reply to: miss "wp-admin" in dashboard linksSorry. Missed the nginx reference. If you have permalinks enabled I think you need this:
if (!-e $request_filename) { rewrite ^.*$ /index.php last; }or
if (!-e $request_filename) { rewrite . /index.php last; }Don’t deal with nginx often and this is all I have in my own documentation. Otherwise if you do a Google search against this site with nginx.conf you will get a bunch of results. Just honestly do not know enough on nginx to point you to a correct answer but you might be able to recognize it.
Besides uploading imagerotator.swf, you did tell Nextgen to find it right?
And this is WP 3.0.1?
Check your header.php for:
<?php wp_head(); ?>Lastly, go to: Gallery options – Slideshow
Look for an Upgrade link at the top.Forum: Plugins
In reply to: [Plugin: Contact Form 7] Won't connect to smtp server587 is the alt port for SMTP. But often its blocked.
WHen you say “other sies” are they on the same server with the same IP #? And using 587?
If you have some kind of shell access to the server you should be able to test the outgoing port. Use this command:
telnet smtp.domainname.com 587If it says Connected the port is open.