does the php mail() function work on frihost?
| Code: |
<?php
mail$mail, $subject, $massage);
?> |
I used that to simply sent myself an email, but didn't work...
anyway to get it to work? or I'm I doing something really stupid
thanks alot
| Quote: |
<?php
mail($mail, $subject, $massage);
?> |
On Frihost mail function working perfect. You are forget bracket.
Sonam
Hi
My Mail() works well on my site...'
mail($to,"Comments From Your Site",$message,"From: $email\n");
Cheers Possum..
thanks, i couldnt remember if the mail function worked on frihost or not, i'll know if mine doesn't work it's an error in my syntax 
yeah.. no problem as mine
You uh.... forgot the parentheses.... otherwise mail works fine. My site is running it perfectly.
-Nick

| coreymanshack wrote: |
thanks, i couldnt remember if the mail function worked on frihost or not, i'll know if mine doesn't work it's an error in my syntax  |
My mail function worked!
way use the bad mail() if there is a opensource free libriry for mailing in PHP
PHPmailer is a prefect script where u can select any option u want to have in ure emails
from bcc,cc until extra files, html and alt html (if html is not support)
http://phpmailer.codeworxtech.com/ is the website
| traxion wrote: |
way use the bad mail() if there is a opensource free libriry for mailing in PHP
PHPmailer is a prefect script where u can select any option u want to have in ure emails
from bcc,cc until extra files, html and alt html (if html is not support)
http://phpmailer.codeworxtech.com/ is the website |
Bad Mail? I'm sure you could create the same class yourself with a bit of time. It is the simple mail, the php mail() function.
| coreymanshack wrote: |
| traxion wrote: | way use the bad mail() if there is a opensource free libriry for mailing in PHP
PHPmailer is a prefect script where u can select any option u want to have in ure emails
from bcc,cc until extra files, html and alt html (if html is not support)
http://phpmailer.codeworxtech.com/ is the website |
Bad Mail? I'm sure you could create the same class yourself with a bit of time. It is the simple mail, the php mail() function. |
I agree: PHPmailer is the best script.
Mail(); doesn't work on my account at all. I've tried my own scripts, as well as other premade scripts and nothing works. 
I haven't tried using it yet. I'll give it a shot in a little bit.
Hello All
I have the same problem as LostOverThere:
| Quote: |
| Mail(); doesn't work on my account at all. I've tried my own scripts, as well as other premade scripts and nothing works. |
mail() doesn't work for me either!
Why does mail() work for some Frihosters and not for others?
My website uses DirectAdmin hosting. Could it be that mail() works for Cpanel hosted sites but not for DirectAdmin hosted sites?
Please help to solve this important issue by testing mail() and report whether it works for you and whether you have Cpanel or DirectAdmin hosting.
P.S.: I really need to get mail() to work as I have installed an application (Moodle) that depends on sending mail (I'm not yet sure how!) to work properly.
Hello All
I've not yet solved the mail() problem but I have got it under a microscope...
It turns out that mail() fails for me only when I try to mail my own domain, infinisa.com, which is hosted (web-wise, but not mail-wise) at Frihost (as infinisa.fri.net).
If I mail my regular gmail address (@gmail.com), mail() works fine.
So the problem seems to be that when I mail infinisa.com, the Frihost servers need to know that although the website is hosted at Frihost, the mail is hosted externally (using Google Apps, actually).
May be with this info, some good soul can sort this problem out for me. 
Check your email accounts under DA. If you have any, delete them.
Hello All
| Quote: |
| Check your email accounts under DA. If you have any, delete them. |
I just have one email account in DirectAdmin, which is the main account where I receive cron job output and error messages.
If I try to delete this account, I get the error message:
| Quote: |
Unable to delete the main email account
Details
You cannot delete the account infinisa because it is linked to your system account |
which is fair enough!
Further to my last post, I've noticed the same phenomenon in reverse:
I can send an e-mail to my infinisa.frih.net account from any e-mail account except infinisa.com.
Once again, it looks like the Frihost server thinks that the infinisa.com mail accounts are hosted locally, which they are not.
Any suggestions much appreciated.
Did you originally use Frihost and then move to google, and if so, how long ago?
Hello mathiaus
| Quote: |
| Did you originally use Frihost and then move to google, and if so, how long ago? |
No, I never used Frihost for mail.
My domain, infinisa.com, is registered with Easyspace, and has been since October 2000. I initially used their web & mail hosting, but eventually found that better services were available for free.
I moved the mail to Google Apps in May 2007, web hosting to Frihost in June 2007 and finally DNS Record hosting to FreeDNS also in June 2007.
Hope this helps
By the way, here is the error message I get when I mail my infinisa.frih.net account from infinisa.com:
| Quote: |
Technical details of permanent failure:
PERM_FAILURE: Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 550 550-Verification failed for <MyInfinisa.comEmailAddress>
550 Sender verify failed (state 14).
|
I have highlighted the part that appears to say what's going on, and I believe shows that the Frihost mailserver is confused about where infinisa.com mail is hosted.
Hello again mathiaus
I thought my domain's DNS records might be relevant. Here they are:
| Quote: |
infinisa.com MX 1:aspmx.l.google.com
infinisa.com MX 5:alt1.aspmx.l.google.com
infinisa.com MX 5:alt2.aspmx.l.google.com
infinisa.com MX 10:aspmx2.googlemail.com
infinisa.com MX 10:aspmx3.googlemail.com
infinisa.com MX 10:aspmx4.googlemail.com
infinisa.com MX 10:aspmx5.googlemail.com
mail.infinisa.com CNAME ghs.google.com
www.infinisa.com URL http://www.infinisa.frih.net |
| infinisa wrote: |
My website uses DirectAdmin hosting. Could it be that mail() works for Cpanel hosted sites but not for DirectAdmin hosted sites?
|
Nothing like that. My site is on the second server, having DA but mails work find for me.
Hello mehulved
| Quote: |
infinisa wrote:
My website uses DirectAdmin hosting. Could it be that mail() works for Cpanel hosted sites but not for DirectAdmin hosted sites?
Nothing like that. My site is on the second server, having DA but mails work find for me. |
Thanks for your reply, but I've reached the conclusion that the mail() problem has nothing to do with which server one is using. in fact, I can mail() without problem except to my own domain!
My mail() problem is exclusively in communication between infinisa.frih.net (host on Frihost) and infinisa.com (hosted elsewhere), as per the following error message:
| Quote: |
Technical details of permanent failure:
PERM_FAILURE: Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 550 550-Verification failed for <MyInfinisa.comEmailAddress>
550 Sender verify failed (state 14). |
I'm still waiting for a solution, folks! 