Jump to content

Recommended Posts

Posted

Hello all,

I've been consistently having problems sending emails with phpVMS, whether the old v4 release or the one by simPilot v5 release.

When testing registration, the confirmation email just won't send, and I'm 100% sure any other emails won't send either.

I remember when our email was based on the local mail server of our then free (we upgrade on x10hosting) hosting service, emails would send fine, all the time, guaranteed. I believe it was also routed through GMail's or Outlook's servers for some time too. Everything worked back then.

We've moved to Zoho, and ever since then, each new phpVMS "project of sorts" we had, emails will just not budge.

In local.config.php, this is the quick email excerpt I have.

# Email Settings
Config::Set('EMAIL_FROM_NAME', 'AirTran Virtual');
Config::Set('EMAIL_FROM_ADDRESS', 'trs@airtranvirtual.net');

Config::Set('EMAIL_USE_SMTP', true);
# Add multiple SMTP servers by separating them with ;
Config::Set('EMAIL_SMTP_SERVERS', 'smtp.zoho.com');
Config::Set('EMAIL_SMTP_PORT', '465');
Config::Set('EMAIL_SMTP_USE_AUTH', true);
Config::Set('EMAIL_SMTP_SECURE', 'ssl'); # must be "ssl" for Google Apps
Config::Set('EMAIL_SMTP_USER', 'trs@airtranvirtual.net');
Config::Set('EMAIL_SMTP_PASS', 'password'); # Password is indeed correct

Just something else, the page takes forever to load before going to the confirmation page. Same with the "resend activation function" in the new phpVMS build by simPilot (he's worked gold into this thing). Could that be a problem?

I'll be keeping an eye on my inbox and spam; nothing's been received yet. I'll keep trying as well.

The website URL is http://crew.airtranvirtual.net/, if needed.

Thank you!

Posted

The port number seems a bit odd "465". Most mail servers use port "25" ?

Port 465 is for SMTPs (SSL) which some hosts require.

That is affirmative, it's what Zoho uses.

Posted

Have you tried trouble shooting it by disabling SMTP and see if it will send just using php mail?

Well, I'll be darned, I didn't even have to go through the trouble of figuring it out; I was so used to php mail not working at all I just automatically went to SMTP! Thanks for this ridiculously simple tip!

  • Moderators
Posted

I had this problem before and found out if you use gmail or yahoo as your installation email then emails won't send but using an email like "yourname@yoursite.com" will work just fine.

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...