About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
See full specifications

scripts default iconSend email using CDO (Scripts) Publisher's description

CDO stands for Collaboration Data Objects which ships with Windows 2000, Windows XP, and Windows Server 2003

CDO stands for Collaboration Data Objects which ships with Windows 2000, Windows XP, and Windows Server 2003.

Find below different scenarii in which using emailtool_nodisplay may be interesting .

% Usage 1 :

emailtool_nodisplay can be used to monitor usage of softwares in your company.
Example in a GUI you can add these lines in the openingfcn:

% username = getenv('USERNAME');
% if isempty(username)
% str = '!whoami';
% username = deblank(evalc(str));
% end
% if ispc
% try %#ok
% emailtool_nodisplay([mfilename '@mycompany.com'],'myemail@mycompany.com','','',['used by ' username])
% end
% end

You will receive in your Microsoft Oulook Inbox an email letting you know that someone has started your software.

% Usage 2 :

emailtool_nodsiplay can be used to receive notifications if a
code/simulation fails in a try-catch statement for example
You could make the exception message caught in the body message.

% Usage 3 :
Can be used at the end of a successful compilation invoking MATLAB Compiler to automatically send a notification to your peers that a new code has been compiled.
You could send the verbose of mcc -mv in the body message.

% Usage 4 :

can be used to send emails from another sender (not advised except for joking!)

% Usage 5 :
can be used to send anonymous emails (idem not advised!)

- emailtool_nodisplay can send HTML messages.
- Messages can be sent to several recipients.

All the different syntaxes to run emailtool_nodisplay are documented in the header of M-file.

Example (shown in the screenshot) :
To receive an HTML email in both my Microsoft Outlook Inbox and my Yahoo Mail , I just typed:
>> from = 'MATLAB_Geeky_boy@magnitude-geo.com';
>> to = 'tug83@yahoo.fr';
>> CC = 'aurelien.queffurust@magnitude-geo.com';
>> subject = ['Mail sent via ' version('-release')];
>> attachments ={which('support'),which('why')};
>> messageHTML= ['Please find enclosed the code of support .
' char(10),...
'This email has been sent by a MATLAB code created by Aurelien!!'];
>> emailtool_nodisplay(from,to,CC,'',subject,messageHTML,attachments,1)

When running the above code , I receive an email with 2 attached files (see screenshot) . The last input argument of emailtool_nodisplay tells my code that I want to send an HTML message . It allows to have the last line of body message in bold in this example

System Requirements:

MATLAB 7.11 (2010b)
Program Release Status: New Release
Program Install Support: Install and Uninstall

Send email using CDO (Scripts) Tags:

Click on a tag to find related softwares

Is Send email using CDO (Scripts) your software?

Manage your software

Most Popular

scripts default icon ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
scripts default icon Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
scripts default icon M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
scripts default icon LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
scripts default icon InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.