# SMTP Validation

**URL:** https://www.finalbuilder.com/forums/t/smtp-validation/5713
**Category:** Bugs
**Created:** [September 12, 2012, 4:02am UTC](https://www.finalbuilder.com/forums/t/smtp-validation/5713 "2012-09-12T04:02:18Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Jenasys](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/jenasys/32/888_2.png) [@Jenasys](https://www.finalbuilder.com/forums/u/Jenasys)
#### Post date: [September 12, 2012, 4:02am UTC](https://www.finalbuilder.com/forums/t/smtp-validation/5713/1 "2012-09-12T04:02:18Z")

</div>

G'day,

When setting up the Continua email notification I couldn't test the connection credentials, or used my ISP mail relay (no authentication).

![ContinuaCI_SMTP_configuration.jpg](https://www.finalbuilder.com/forums/uploads/default/original/2X/4/4c66ae6a68346785b2cf28ddec937e7ef4205665.jpeg)

![ContinuaCI_SMTP_relay_no_user-password.jpg](https://www.finalbuilder.com/forums/uploads/default/original/2X/0/04c9f6483278cace51609e60fb4c9fa91f9d6c42.jpeg)

---

<div class="post-metadata">

### Author: ![vinnie](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/v/71e660/32.png) [@vinnie](https://www.finalbuilder.com/forums/u/vinnie)
#### Post date: [September 12, 2012, 8:07am UTC](https://www.finalbuilder.com/forums/t/smtp-validation/5713/2 "2012-09-12T08:07:23Z")

</div>

I’ve removed the requirement for a username and password. I’ll get around to the validate button once I sort a few bugs out first. I’m hoping the validate makes the next build but the requirement for username/password definitely will.

---

<div class="post-metadata">

### Author: ![Jenasys](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/jenasys/32/888_2.png) [@Jenasys](https://www.finalbuilder.com/forums/u/Jenasys)
#### Post date: [September 19, 2012, 7:31am UTC](https://www.finalbuilder.com/forums/t/smtp-validation/5713/3 "2012-09-19T07:31:28Z")

</div>

Sweet and I have email notification routing working and there is a shiny “Validation” button!

---

<div class="post-metadata">

### Author: ![Jenasys](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/jenasys/32/888_2.png) [@Jenasys](https://www.finalbuilder.com/forums/u/Jenasys)
#### Post date: [October 4, 2012, 1:19am UTC](https://www.finalbuilder.com/forums/t/smtp-validation/5713/4 "2012-10-04T01:19:07Z")

</div>

Build 926, reverts some code, so that anonymous email relay is not possible.   
 A new event has been added to the event log:   
  
 Exception: FaultException`1   
 Message: User Name cannot be null or empty.   
 Stack Trace: at Continua.Services.NotificationService.Validate(PublisherDTO publisherDTO)   
 at SyncInvokeValidate(Object , Object[] , Object[] )   
 at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)   
 at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)   
 at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)   
 at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)   
 at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)

---

<div class="post-metadata">

### Author: ![vinnie](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/v/71e660/32.png) [@vinnie](https://www.finalbuilder.com/forums/u/vinnie)
#### Post date: [October 4, 2012, 1:29am UTC](https://www.finalbuilder.com/forums/t/smtp-validation/5713/5 "2012-10-04T01:29:18Z")

</div>

You should be able to save it even if validate fails. I’ll change the validate code to ignore it anyway
