Hello!
I am having trouble understanding how to set up basic email usage. (I'm not exactly a newbie, but it's been a decade since I've really touched webdesign, so I actually am a re-newbie I guess!) I am having trouble getting info from my web-host, but I can answer most questions via info from the web-host's control panel/FAQ and phpinfo() or whatnot.
Settings on Q2A:
Administration center - Emails
Sender address for messages from site: no-reply@mysite.com
Email address for admin messages - not shown to users: xyz@hotmail.com
[_] Email this address when a question is posted
[X] Provide a page for users to send feedback
Privacy note for email addresses - HTML allowed: (default text message)
[_]Send email via SMTP instead of local mail
I'm using PHP 5.3.13 (php-cgi).
From phpinfo(), I can tell you:
Directive |
Local Value |
Master Value |
PHP Core - from phpinfo()
sendmail_from |
me@localhost.com |
me@localhost.com |
sendmail_path |
/usr/sbin/sendmail -t -i |
/usr/sbin/sendmail -t -i |
SMTP |
localhost |
localhost |
smtp_port |
25 |
25 |
Q2A is installed at: www.mysite.com/abc/xyz/<question2answer-latest/index.php> if that matters.
From WebHost:
Server Type: POP3
Incoming server name (POP3): mail.mysite.com
Incoming server port: 110
Outgoing server name (SMTP): mail.mysite.com
Outgoing server port: 25
Outgoing server authentication: required (type: SMTP-AUTH / Password)
Username: user@mysite.com
Password: (known)
I've also tried running a basic php mail() file like:
<?php
// The message
$message = "Line 1\r\nLine 2\r\nLine 3";
// In case any of our lines are larger than 70 characters, we should use wordwrap()
$message = wordwrap($message, 70, "\r\n");
// Send
mail('xyz@hotmail.com', 'My Subject', $message);
?>
And in any case, whether it's the confirmation email a new member should be sent, me as ADMIN trying to test the "mass_email portion" of the Q2A site by having it send me a test email, or this mail() PHP command that I've provided above, which was copied directly from the PHP help for the "mail()" function page, I get no "apparent" errors and yet I never receive the email at the expected email address (xyz@hotmail.com or whatever the new member's email addy was that I tried for a test.)
I think I've provided enough information, and will provide whatever else is necessary upon request, that someone could help me. I'll try whatever you think is best to try to troubleshoot the problem. My web-host is not very helpful in providing such information, so perhaps someone would be willing to talk me through my ignorance towards this matter. I would be quite grateful to get such assistance!
Thanks in advance!
Me
(BTW: Yes, I'm sitting here refreshing the window semi-daily, waiting for anyone that might be kind enough to even TRY to help me!)