Link to home
Start Free TrialLog in
Avatar of Scott Johnston
Scott JohnstonFlag for United States of America

asked on

Testing Email server Exchange Server 2010 manually - sending a email with attachment

I have a process that will create a PDF attachment and then send the attachment via automated program.  Recently the program has a problem finding the attachment.

How can i test sending a emali with a attachment?

I like to test this process by creating a test that will first test our email server.
I have tried the telnet process and i am not getting a postive when I run the EHLO command.

(Start communication by typing the following command:
EHLO test.com
If the command is successful, you receive the following response:
250 OK)

This does not happen, all I get is:

220 Bmail.corp.biotone.com Microsoft ESMTP MAIL Service ready at Thu, 9 Jul 2015
 10:18:40 -0700

EHLO BIOTONE.COM
250-Bmail.corp.biotone.com Hello [64.73.243.232]
250-SIZE
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-X-ANONYMOUSTLS
250-AUTH NTLM LOGIN
250-X-EXPS GSSAPI NTLM
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250-XEXCH50
250-XRDST
250 XSHADOW

SHOULD IT RETURN 250 OK?
Avatar of Will Szymkowski
Will Szymkowski
Flag of Canada image

You can use the Send-MailMessage to send test emails with or without attachments.

Will.
Avatar of Scott Johnston

ASKER

Will, sending attachment via my Outlook clients works fine.  So I not sure using Powershell would test the process the same as it is being run currently.
I like to test my proecess run from a network resouce, not directly on the mail server?

Any ideas?
ASKER CERTIFIED SOLUTION
Avatar of Will Szymkowski
Will Szymkowski
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I think we are on differnt pages.
My process that i have currently will create a PDF file, then the PDF file is attached to a email using a customer program(proprietory-I'm trying to get the vendor to support their development, but they want me to upgrade...Instead of supporting a older version)

So I wanted to create a homegrown solution to test the same process.

Invoice is genereated, then the invoice is converted to a PDF
thank you