URL to your eFiction: http://tokiohotelfictionpt.com
Version of eFiction: 3.5.1
Have you bridged eFiction, if so with what?: No
Version of PHP: can be found out from your host - PHP version 5.2.5
Version of MySQL: can be found out from your host - MySQL version 4
Have you searched for your problem: yes
If so, what terms did you try: email problem smtp gmail
State the nature of your problem:
test account you can use:
nick:test
pass. josty
- First of all I turned my debug mode on ant it doens't shows any info.
Anyway, my problem is that I can't use the email setting in general: contact, acceptance letter, etc
- On Adm ->Site Info I used the email account yourname@gmail.com, with email settings blank.
my php info was:
sendmail_from php@mail1.awardspace.com
sendmail_path /usr/sbin/sendmail -oi -t
When I tried to use contact and all the other things it just said there was an error and to contact the admn. (again, the debug it's no working so I can't have more details)
I explained the problem to my host (I have a paid plan)just saying the form used on my site software ans using gmail was not working, he did answer me:
Please make sure that your php mail script includes a valid 'from' header, which would be an existing email address, part of your hosting account with us. You will need it for SMTP authentication, since otherwise the sendmail script will fail.
Maybe I didn't get it right but first I changed php sendmail_from to yourname@gmail.com. the same error again.
Then I changed emai settings to
SMTP Host: smtp.gmail.com
SMTP Username: yourname@gmail.com
SMTP Password: your_Gmail password ,it didn't worked either.
Then I tried to leave sendmail_from no value, but nothing (it started to get funny here)
After reading the host answer again I created and email like yourname@mydomain.com, and used it on email settings like
SMTP Host: php@mail1.awardspace.com (I'm not sure if this the right one)
SMTP Username: name@mydomain.com
SMTP Password: password ,it didn't worked either.
and finally, I don't know more what to do,someone knows what to do or if I just didn't get the answer from the host?
Pretty Please?
The characters within that sub category also do not appear, only the ones that are sitewide.
Do you have a test account for us?
Gmail requires authentication, so in the settings try
SMTP Host: smtp.gmail.com:465 [If that doesn't work try smtp.gmail.com:587 these are the port numbers gmail would be looking for]
SMTP Username: yourname@gmail.com
SMTP Password: your gmail password
******************************************
Mucking around in eFiction since circa 2001 (ver. 1.0)
Now running v.3
Thanks for your answer π I tried both, it doesn't work either...I don't have to change the php sendmail_from?
I pasted the host exatly like you said in both cases.in my php info I have:
SMTP localhost
smtp_port 25
I don't have to change my port there too?
some help here??? *seriously, the site is all ready to go, I just need to resolve this problem* π
Go to Admin>Settings>Site Information and make sure you have a valid email address. From what your host says, that's what's causing sendmail to fail.
I'm not sure if you still need to enter anything in the SMTP fields--that all depends on your host's server configuration. Try leaving it blank first. If that doesn't work, reenter the SMTP information. ("sendmail" is not the same thing as SMTP. If you leave the fields blank, it will use the information your host entered in their sendmail script, which is what you looked up in your php info.)
I checked the mail on adm. settings more than a few times already...It didn't work with the smtp blank or not and I dind't change the initial php info.
this time I tried to do like explained here http://digiex.net/guides-tutorials/544-configuring-php-under-windows-use-gmail-external-smtp-server-ssl.html :
I tried that way but it's stills the same..(I tried with the email smpt settings on Admi. blank and not blank)
it was supposed to work the way described?
I was not sure but in the red parts I used my gmail account and password too, I ddin't create an email acounnt with my domain.
One of us is confused. Make sure you have a valid email address in your settings. This is separate from the SMTP setting and on a completely different page that also asks for your site name and url, etc. It usually doesn't matter if it's an email address on your server or not as long as it is a good email address. Sometimes though, it does matter because your host has set it up that way.
Please make your test account an admin so we can see the settings you're having trouble with. If you don't want to put an admin password here, please PM it. If you are continuing to have problems and are sure you've set everything up correctly, then contact your host again.
I get that sendmail and SMPT are different things but it doesn't work with the smtp blank so I thought to set the smpt right was my only chance...but yeah, it's about smpt I'm a little bit confused π
I made the test account an Admn! thanks for trying to make this work π
Has your host set up sendmail to work with gmail? I've been looking it up and it doesn't appear to work automatically.
If the answer is yes, then make sure you've enabled POP access in the gmail account you're using.
If it still doesn't work, contact your host and tell them you do have a valid email address in the from header in your email. There is really nothing more we can do. Whether your site can send email has nothing to do really with eFiction. As long as your settings are right, it should work because it just piggybacks of your hosts sendmail configuration.
The Sendmail might not work because I notice in your phpinfo
sendmail_from php@mail1.awardspace.com php@mail1.awardspace.com
sendmail_path /usr/bin/sendmailc /usr/bin/sendmailc
I checked the sendmail settings on my phpinfo and it reads:
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
I don't know much about php settings to know if my email, but I think the sendmail from needs to stay blank. I just tested it on my website by changing my email to my gmail account and left the smtp settings blank and the mail sent with no problems at all. You are going to have to talk to your webhost about this.
******************************************
Mucking around in eFiction since circa 2001 (ver. 1.0)
Now running v.3
Thanks Carissa, I had the pop enabled so I wil just contact the host again asking about sendmail explaining my adress it's valid.
babaca, I changed php.ini configuration to what you gave me and it's not working still, but thanks for the tip!
Let's just hope the host can resolve this π , I will post their answer here (they use to be quick) .
their answer:
It is oblogatory to use a mail that is within your account. You cannot use an external mail adress like gmail to send from. This is due security reasons.
I will have to use my domain e-mail, not my favorite option but at least the site can go on π
Well at least through gmail you can have your domain email forwarded to your gmail account. I'm glad it got resolved for you.
******************************************
Mucking around in eFiction since circa 2001 (ver. 1.0)
Now running v.3
Oh, thanks! I was trying to make mails go to my gmail account on my host account but there you can just configure the other way around (gmail->domaimail). I'm relieved at least now I don't have to worry with this little bug xD
Great! Glad you've figured it out. Don't forget to remove the admin privileges from your test account if you haven't already.
