# No emails being sent

**URL:** <https://forum.phpvms.net/t/no-emails-being-sent/4508>\
**Category:** phpVMS Legacy Support (v2/v5)\
**Created:** [April 14, 2011, 9:02am UTC](https://forum.phpvms.net/t/no-emails-being-sent/4508 "2011-04-14T09:02:03Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tom](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/t/3d9bf3/32.png) [@Tom](https://forum.phpvms.net/u/Tom)\
**Post date:** [April 14, 2011, 9:02am UTC](https://forum.phpvms.net/t/no-emails-being-sent/4508/1 "2011-04-14T09:02:03Z")

</div>

Hullo

On my site ([flyeug.co.uk](http://flyeug.co.uk)) I’m not receiving any emails when pilots register.

I have no idea if pilots are getting emails, but emails are working on another site hosted on the same account which is why I didn’t think it would be worth bringing up in the fivedev forum.

Any ideas?

---

<div class="post-metadata">

**Author:** ![mark1million](https://forum.phpvms.net/user_avatar/forum.phpvms.net/mark1million/32/15_2.png) [@mark1million](https://forum.phpvms.net/u/mark1million)\
**Post date:** [April 14, 2011, 9:14am UTC](https://forum.phpvms.net/t/no-emails-being-sent/4508/2 "2011-04-14T09:14:37Z")

</div>

I had this , i changed some code and its was getting as far as the send mail, basically i broke it, just recheck your code.

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [April 14, 2011, 2:45pm UTC](https://forum.phpvms.net/t/no-emails-being-sent/4508/3 "2011-04-14T14:45:37Z")

</div>

SMTP or PHPMailer?

---

<div class="post-metadata">

**Author:** ![Tom](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/t/3d9bf3/32.png) [@Tom](https://forum.phpvms.net/u/Tom)\
**Post date:** [April 14, 2011, 2:51pm UTC](https://forum.phpvms.net/t/no-emails-being-sent/4508/4 "2011-04-14T14:51:35Z")

</div>

PHPMailer

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [April 14, 2011, 3:10pm UTC](https://forum.phpvms.net/t/no-emails-being-sent/4508/5 "2011-04-14T15:10:36Z")

</div>

Try using a different email address

---

<div class="post-metadata">

**Author:** ![Tom](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/t/3d9bf3/32.png) [@Tom](https://forum.phpvms.net/u/Tom)\
**Post date:** [April 17, 2011, 8:37pm UTC](https://forum.phpvms.net/t/no-emails-being-sent/4508/6 "2011-04-17T20:37:13Z")

</div>

Okay I finally got an email, it works when sending it to my site which is hosted on the same account, but not the main one… weird.

They’re both set up on google and everything, working properly when I send emails to it from other emails, just not the site ones.

---

<div class="post-metadata">

**Author:** ![Tom](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/t/3d9bf3/32.png) [@Tom](https://forum.phpvms.net/u/Tom)\
**Post date:** [April 18, 2011, 7:44pm UTC](https://forum.phpvms.net/t/no-emails-being-sent/4508/7 "2011-04-18T19:44:45Z")

</div>

Any ideas?

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [April 18, 2011, 8:46pm UTC](https://forum.phpvms.net/t/no-emails-being-sent/4508/8 "2011-04-18T20:46:44Z")

</div>

Might be a host restriction then, if I understand it correctly. You may have to send it from the originating account tied to your hosting, spam prevention I’m guessing?

---

<div class="post-metadata">

**Author:** ![Tom](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/t/3d9bf3/32.png) [@Tom](https://forum.phpvms.net/u/Tom)\
**Post date:** [April 18, 2011, 9:11pm UTC](https://forum.phpvms.net/t/no-emails-being-sent/4508/9 "2011-04-18T21:11:17Z")

</div>

It is… flyeug is my main account on fivedev, and the email the system is sending to/from is [support@flyeug.co.uk](mailto:support@flyeug.co.uk) however when I set it to [tom@fstools.co.uk](mailto:tom@fstools.co.uk) which is my site hosted as an addon domain, it works.

---

<div class="post-metadata">

**Author:** ![Jeff](https://forum.phpvms.net/user_avatar/forum.phpvms.net/jeff/32/78_2.png) [@Jeff](https://forum.phpvms.net/u/Jeff)\
**Post date:** [April 19, 2011, 2:37am UTC](https://forum.phpvms.net/t/no-emails-being-sent/4508/10 "2011-04-19T02:37:34Z")

</div>

I had the exact same problem when I had my other site online. I just changed from the default email acct. that I signed up with Fivedev with and used another. After I did that, all the emails were coming and going perfectly. I’m not sure why it does it though.

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [April 19, 2011, 2:42pm UTC](https://forum.phpvms.net/t/no-emails-being-sent/4508/11 "2011-04-19T14:42:13Z")

</div>

I’ll check to see if it’s a cPanel setting or a exim setting, I’ll have to see why. It’s usually for spam prevention, though
