This project is read-only.


Sep 29, 2012 at 3:59 AM

I am trying to use a SMTP server (Non exchange) to send out tickets but keep getting errors.


I have been editing the utils.cs to no avail.....I need it to send via IP or SERVERNAME:


        MailMessage message = new MailMessage(Utils.Settings.Get("system_email"), to, subject, body);
        SmtpClient smtp = new SmtpClient(Utils.Settings.Get("SERVERNAME"));

I get the following error:


error sending email

Sequence contains no elements
Any thoughts?
Oct 1, 2012 at 3:41 PM

Is Utils.Settings.Get("SERVERNAME") returning what you want?  Does your SMTP require credentials?