need HELP friends
Moderators: JRL, Dorian (MJT support)
need HELP friends
how can I send attach _file_ via smtp??? you command dont properly work !!! may be make it under VBScript?
please send answer to email - I dont want to meet this stuped site anytime
[email protected]
please send answer to email - I dont want to meet this stuped site anytime
[email protected]
What's stuped? Stupe? Stupid?I dont want to meet this stuped site anytime
If you are in a hurry, get a consultant. If you can't afford a consultant to be pampered individualy, you've to come back. There's always a price you've to pay.
And by the way, in some cases it makes sense not to provide an EMail address (maybe you're not realy interested in spam) ...
Something usefull. Copy that link (your posting) to your desktop and it will be the same as to work with your EMail client. Click. Open.
If you prefer to get an issue solved by EMail you loose the option to be supported by MSched proffessionals from all around the world.
http://www.mjtnet.com/forum/viewtopic.php?t=655
If you prefer to get an issue solved by EMail you loose the option to be supported by MSched proffessionals from all around the world.
http://www.mjtnet.com/forum/viewtopic.php?t=655
Hi,
To send an attachment via SMTP use the SMTPSendMail command:
SMTPSendMail>recipients,server,from_address,from_name,subject,body,attachments
attachments is a list of file names with full paths separated by semicolons (if more than one).
To send an attachment via SMTP use the SMTPSendMail command:
SMTPSendMail>recipients,server,from_address,from_name,subject,body,attachments
attachments is a list of file names with full paths separated by semicolons (if more than one).
MJT Net Support
[email protected]
[email protected]
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
Same here - almost every day for years, and on many different OS's... Win98/WinNT/Win2k/WinXP.bob hansen wrote:I use SMTPSendMail> command with attachments daily. Works great!
This I would like too. Browsing without logging in, yeah. Posting as a guest... blah.bob hansen wrote:Would be nice if "guests" would log in with some identity. Hard to tell one guest from another......
Smtp mail
SMTPSendMail>[email protected];[email protected],mail.cXXo.com,[email protected],[email protected],ScreenShot,ScreenShot,C:\Documents and Settings\All Users\Desktop\mypic.bmp
This does not work for me any help? PLEASE!
This does not work for me any help? PLEASE!
SMTP mail
Sorry! I forgot to add this!
If I send mail this way it DOES work:
SMTPSendMail>[email protected];[email protected],mail.cXXo.com,[email protected],[email protected],ScreenShot,ScreenShot
But then when I go to add a file to it such as this it DOES NOT work:
SMTPSendMail>[email protected];[email protected],mail.cXXo.com,[email protected],[email protected],ScreenShot,ScreenShot,C:\Documents and Settings\All Users\Desktop\mypic.bmp
I get an error code of "354". Which I was reading and found that SMTP mail finds the end of a message by looking for a blank line with only a ".".
How would I do that or is there something else I am missing?
Only thing I thought of was the spaces in the path to the file. I tried doing it in quotes. That did not help either.
Thanks for your help.
PogoDeamon
If I send mail this way it DOES work:
SMTPSendMail>[email protected];[email protected],mail.cXXo.com,[email protected],[email protected],ScreenShot,ScreenShot
But then when I go to add a file to it such as this it DOES NOT work:
SMTPSendMail>[email protected];[email protected],mail.cXXo.com,[email protected],[email protected],ScreenShot,ScreenShot,C:\Documents and Settings\All Users\Desktop\mypic.bmp
I get an error code of "354". Which I was reading and found that SMTP mail finds the end of a message by looking for a blank line with only a ".".
How would I do that or is there something else I am missing?
Only thing I thought of was the spaces in the path to the file. I tried doing it in quotes. That did not help either.
Thanks for your help.
PogoDeamon
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
???? Looks good to me.
I checked out the syntax and it looks OK. You are sending 2 copies of the email with an image file as an attachment.
You should be able to ignore the reference to the trailing "." using Macro Scheduler.
Can you send an attachment using your normal SMTP client software? Is there any type of firewall that might reject the email from going out with an attachment? Is it possible that you need authentication and/or name/pw to send an attachment? If Yes, then see the SMTP variables in the Help section for SMTPSendMail>
Here are some references for SMTP error codes:
http://www.uoguelph.ca/~gcssa/resource/ ... ndex.shtml
http://www.massmailsoftware.com/ezine/p ... -04-30.htm
You can also check out this paper (about 3 years old): http://www.networksorcery.com/enp/RFC/rfc2821.txt to get a step by step explanation of how the email is transmitted and when/what codes might be sent by various components in the transmission links.
The 354 code signifies that the server is ready for you to send email. There may be a timing issue. Perhaps you need to put in a loop to check error code, if failed, then Wait>5 and retry SMTPSendMail again. Maybe loop this to retry 3-5 times.
I checked out the syntax and it looks OK. You are sending 2 copies of the email with an image file as an attachment.
You should be able to ignore the reference to the trailing "." using Macro Scheduler.
Can you send an attachment using your normal SMTP client software? Is there any type of firewall that might reject the email from going out with an attachment? Is it possible that you need authentication and/or name/pw to send an attachment? If Yes, then see the SMTP variables in the Help section for SMTPSendMail>
Here are some references for SMTP error codes:
http://www.uoguelph.ca/~gcssa/resource/ ... ndex.shtml
http://www.massmailsoftware.com/ezine/p ... -04-30.htm
You can also check out this paper (about 3 years old): http://www.networksorcery.com/enp/RFC/rfc2821.txt to get a step by step explanation of how the email is transmitted and when/what codes might be sent by various components in the transmission links.

Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!
Re: SMTP mail
just an FYI...
I never use path information directly in a command as the spaces seen to cause confusion. I always declare it as a variable at the stsart of the macro...
eg
Let>recipients=
Let>server=
Let>from_address=
Let>from_name=
Let>subject=
Let>body=
Let>attachments=
MTPSendMail>recipients,server,from_address,from_name,subject,body,attachments
Working with this personal 'policy' I never get into problems. plus it saves a helluva lot of typing, especially if it's a long macro. Might be worth a try... Plus it can make macro's so much more reusable if you include an Input> command at the start.
I never use path information directly in a command as the spaces seen to cause confusion. I always declare it as a variable at the stsart of the macro...
eg
Let>recipients=
Let>server=
Let>from_address=
Let>from_name=
Let>subject=
Let>body=
Let>attachments=
MTPSendMail>recipients,server,from_address,from_name,subject,body,attachments
Working with this personal 'policy' I never get into problems. plus it saves a helluva lot of typing, especially if it's a long macro. Might be worth a try... Plus it can make macro's so much more reusable if you include an Input> command at the start.