I want my SMTP Sensor to show the date and time it sent the mail.

Are there any workaround to include it on the Topic or Content of the SMTP Sensor?

Thanks.


Article Comments

Hello,

sorry, this is not possible, nor planned.

best regards.


Feb, 2012 - Permalink

PTF.EmailRoundTrip

There is an alternative email sensor available at the Google Code project that does show date and time the email was send in the email body.

Some more benefits of this sensor:

  • This sensor does not have to wait for the email to return, but processes the received email from the previous run of the sensor.
  • Fast response times, freeing up resources more quickly.
  • Roundtrip time is calculated by examining the email headers.
  • “Missed” email responses that come in too late are automatically deleted, keeping the users mailbox cleaned up.
  • The unique identifier is not in the email subject but in the email header, reducing the chance of the email getting caught by a spam filter.

Feb, 2012 - Permalink

Hi,

My SMTP Sensor's function is to send an email from Gmail to my Local Mail Server. It works using SMTP and SMTPPOP3 Roundtrip sensor but the problem is it doesn't show the Date and Time it sent the mail.

Anyway, I have tried PTF.EmailRoundTrip, here's the parameter I entered on the sensor settings: EmailRoundTripPop -to=user@localmail.com -fr=prtgtestmail111@gmail.com -u=prtgtestmail111@gmail.com -p=gmailpass -s=smtp.gmail.com [-pp=995-sp=465] [-ssl] [-t=300]

Last message shows: failure sending mail

Am I doing it right? Please advise.


Feb, 2012 - Permalink

Hi Jon

-to Is the address to send the mail to, in your case prtgtestmail111@gmail.com. -fr is the from address (the sender of the email) in your case user@localmail.com

Next we need a username and password to read mail from the mailbox where prtgtestmail111@gmail.com is setup to forward to (in your example user@localdomain.com): -u=user -p=password.

And we also need to know the name (or IP) of your local mail server -s=mail.localdomain.com

Last but not least, when running more than one instance of this sensor we need to be able to tell them apart by supplying the sensidID (-id=1001)

Making it something like this:

-to=prtgtestmail111@gmail.com -fr=user@localmail.com -id=xxx -u=user -p=password -s=mail.localdomain.com

The parameters between brackets like [-ssl] are optional parameters and when needed have to be supplied without the brackets.

Regards,


Feb, 2012 - Permalink