Send SQLMail Thru Notes
Aug 15, 2000I need to set up SQLMail togheter with Notes, We have SMTP server and profiles but I can´t get it to work. SQL sends the mail but it disappears into the cyberspace.. Someone help me pls...
View 1 RepliesI need to set up SQLMail togheter with Notes, We have SMTP server and profiles but I can´t get it to work. SQL sends the mail but it disappears into the cyberspace.. Someone help me pls...
View 1 RepliesI am having difficulty trying to get SQLMail to work via Notes4.6.1 as the mail system. Firstly the Notes client is working correctly on my machine but SQLMail will simply not start with the SQL-DMO error 17952, and on trying to configure it I type in my profile name(which has been successfully setup previously through the Ctrl Panel Mail and Fax icon with the Lotus Notes Mail information service selected ) and get the error 21002 RegCreateKeyEx - #5 access is denied - which seems to be something to do with permissions but the SQLServer service is logging in a member of Local Admins group.
Has anyone had this before - there seems to be a painful lack of information about this area generally.
Regards.
David Shaw
I am currently working on the SQLMail in SQL Server ver. 6.5 and don`t know
how to start. SQL Server is already installed in the NT Server and some
applications are using this. The problem is how to send mail and receive mail from a Lotus Notes ver. 4.5, not a MS Exchange Mail. Can anybody provide me step-by-step approach to do this? The NT server dont MS exchange installed in it.
thnks.
Has anyone setup Lotus Notes as the email client for SQLMail? I currently have Lotus Notes client installed on dedicated MS SQL Servers but am
having trouble configuring the SQL Mail in order to get it working. Does anyone have any suggestions or instructions on how this is done? I've
researched all of the "Books on line" but they are all slanted to Exchange.
Jim
Hi,
I have a string almost 11006 length.. when i try to send back from SQLCLR procedure
it says cannot send ..
here is Exception Text "Message length 11060 exceeds maximum length supported of 4000."
Max limit to send a string using pipe is 4000
How I can send a string which is large in size than 4000.
Thanks
Hello All,
Hopefully someone out there will have an idea as this is driving me nuts.
I want to send a dynamic files in attachment files ny send mail task that file name has change follow datetime.
I try to use the expression but I can't use it.
please tell me for this problem.
Any suggestions appreciated,
Thanks.
Is there a way to change the FROM in sqlmail (recipient) from the mailbox account to read a user-defined from. Currently our FROM has the SQL mail account name that was created during the sqlmail setup and we would like to put a user defined name in this variable.
View 1 Replies View RelatedFor the life of me, I cannot get SQL Mail Support Services started on one of my SQL Server 7.0 SP3 boxes. It works fine on other machines of mine. I have a mail profile created using proper accounts who have access to email box. I have configured SQL Server to use that mail profile.
ERRORLOG shows the following each time I try and start the SQL Mail Support Services:
2001-03-05 10:23:48.98 ods Starting SQL Mail session...
2001-03-05 10:23:50.20 ods Error: 17903, Severity: 18, State: 1
2001-03-05 10:23:50.20 ods MAPI login failure..
2001-03-05 10:23:50.20 ods Error: 17951, Severity: 18, State: 1
2001-03-05 10:23:50.20 ods Failed to start SQL Mail session..
Do you have any thoughts or where I may turn for support, other that Microsoft's pay-per issue support?
Thank you,
Brian Kilby
Hello sir,
I want to configure SQLMail; I use Eudora.
how can-I do that?
Please advice me..
Dear people,
We have tried to get sqlmail (SQL SERVER 6.5) working on windows NT 4.0. However when we start sqlmail through the enterprise manager we get an error:
"error 17952 sqlserver failed to start sql mail session". MSmail client works ok on the NT machine. The profile in nt mail is the same as the profile name in de configuration of sqlmail. What could be wrong?
Thanks for reading
Michel Landman
I have installed MS exchange client on my NT 4.0 server.
and installed SQL server 6.5 on same.I have marked MSSQL server service as log on as service and also map correct profile in exchange.I am able to start
sql mail service but when i am trying to send a mail by xp_sendmail i am getting error:
Msg 17914,level 18,state 1
Unknown recipient: Parameter `@recipients`,recipient `devendrar`.
where `devendrar` is profile name
and what i am trying to do is :
xp_sendmail `devendrar`,`msg to send`
can u pls help me to solve this problem.
Devendra Rane.
Is there any other way to send emails without using SQLMail or xp_sendmail?
without a mail client ?
I have the following error when trying to test EMail from SQL.
I have logged onto the server and sent EMail using the SQLServer Service Account and the Profile is correct. This tells me that Outlook is working OK and the Exchange Server is sending OK. However, lookin on TechNet Q274330
mentions the error number but it's description is about Emailing an open file. I am not Emailing an open file.
Here's the error message.
xp_startmail 'eweb02mail'
Server: Msg 18025, Level 16, State 1, Line 0
xp_startmail: failed with mail error 0x80040106
Or right clicking on SQLMail and click on Test
xp_test_mapi_mail 0x80040106
Hi all.
I'm having problems with sqlmail. SOMETIME when I try to send a message the server replies "Could not find the function xp_sendMail in sqlmap60.dll". or ISQW don't finish the query never.
Sqlmail is running. I'm using Outlook express as a simple mapi client.
Sorry my english.
Any help will be appreciate a lot.
Thanks in advance.
Armando Marrero
Armando@Novell2.get.cma.net
Does anyone know how set up SQLMail and SQLAgentMail (SQL 7/2000) to send email to Groupwise 5.5? Or is it possible at all? Any feedback will be very much appreciated.
View 1 Replies View RelatedThe start / stop options on the SQL Mail support service are not there.
I'm running with SQL 2000 on Server 2000, with MS Outlook 2000 as the MAPI Client. The client is configured and sending just fine. The SQL Mail properties Test button was able start/stop a mapi session. The profile name on the general tab is "Microsoft Outlook Internet Settings".
Suggestions appreciated.
Has anyone successfully integrated Groupwise 5.5 with SQLServer 2000? Any suggestions would be appreciated.
Thank you.
I am using SQLServer2000 with sp3.The SQLServer logs on as user Test on the local computer. I am loggedon as user Test on the local computer.I have created a Exchange Profile and tested that it can send andreceive mail.When I go to Enterprise Manager to set-up this profile for SQL Mail.There is nothing in the drop-down list box.Any ideas?ThanksM
View 1 Replies View RelatedTrying to get my jobs to send mail when job fails. Should be easy butit's giving me headacheHad a whole slew of issues. Outlook is installed with a n outlookmail profile set up that can send mail in outlook. I can create aSendMail DTS and execute it to send mailEmail works in these scenarios1. I create a DTS package in SQL Server with just SendMail with thesame Profile "ABC" and click Execute and it sends2. I can send using Outlook with the same profile "ABC"3. I can run DTSRun with command prompt calliing the DTS package andit sends fineHowever it wont send in these 3 scenarios (where I need it!):1. I go to Operator, and put my Profile "ABC" in the Email Name,click Test and I get this error "Error 22022: SQLServerAgent Error:The SQLSErverAgent mails ession is not running; check the mail profileand/or the SQLServerAgent service startup account in theSQLSErverAGent PropertiessQLServer Agent is running2. If I add the DTS Package "EmailTest" to one of my jobs as a stepto go to if the 1st step fails, nothing gets sent3. In JObs -- Notificatioin, If I set the E-maill operator to myoperator, nothing gets sentI set the Mail Profile to the Mail Profile (in SQL Server AGent'properties)However when I click Test, I get this error:Error 0: Cannot load the DLL sqlmap70.dll, or one of the DLLs itreferencesI am usingSQLServer Version 8.00.194,OS Windows 2003Help!
View 3 Replies View RelatedI recently set up a SQL 7.0 cluster (active/passive) on a pair of Win2K boxes. I noticed that the SQLServerAgent would refuse to send system alerts to my e-mail account, yet net sent messages worked fine. I know I've set everything up properly, so I paid the $245 to speak with Microsoft.
The answer was found; their response follows:
{redacted}
CAUSE:
============
On a cluster an undocumented stored procedure is called by the Operator to send email and this causes it to fail. SQL Mail is not supported on SQL 7.0 clusters and any features depending on it will also fail.
RESOLUTION:
============
SQL 2000 does support SQL Mail on clusters with MS Office 2000 and up.
In SQL 2000 Books Online do a search for the following topics and include the quotes:
“Using SQL Server Tools with Failover Clustering”
Also you can workaround the problem by using a job that uses xp_sendmail to send the alert instead.
{END}
Now is that lame or what? Of all the functions you would expect to work in a failover cluster, you would think that e-mailing the operator in the event of a failure would be high on the list. Apparently, not so. Their official answer was to upgrade to SQL2000. Anybody care to guess the price on doing a dual CPU dual box cluster upgrade?
Now my question is this: The tech person was right, xp_sendmail does work fine. What I have wanting to do, and have been unable to do, is to write a TRIGGER that would fire whenever an error is logged by the SQL server. I have looked around, but could find no documentation on what table it is that receives error logs.
Does anybody know which table receives error messages? I'm wanting to write a trigger that exec's xp_sendmail so I get error alerts.
Does anyone know the 'trick' in getting sqlmail (sqlserver 7.0) to work with Outlook 2000 on a windows 2000 server machine. I've setup a mail profile on Outlook, but it is not listed in the dropdown menu in the sqlmail properties.
Outlook communicates with my smtp/pop3 mail server - no problem. I can't get sqlmail to interface with outlook. Basically it is telling me that it cannot find ANY profiles on the server.
I created a new MAPI profile on the server, and it seems to work fine with Outlook. I also dropped the previous default MAPI profile.
Now, when I go to the EM SQLAgent Properties, the only MAP profile offered in the SQLMail drop-down is the old, deleted profile. Also, only the old profile comes up with xp_get_MAPI_profiles.
How can I get SQLAgent to recognize that I've set up a new mail profile?
Has anyone created a stored procedure that notifies a customer that their order_status has been changed from 'submitted' to 'backordered' or from 'backordered' to 'shipped'? Once written, how does the sp get automatically executed? Does anyone have an example or a book/site with an example?
--Thanks in advance.
Hi,
I need help!
SQlmail service starts (SQL server 6.5, Exchange Server 5.5
and Outlook 2000). A mail profile is created which starts the
MSSQLServer and SQLExecutive services.
However, When I tried to send a mail by xp_sendmail, it gave me
a 'General MAPI failure with error message 17902'.
Thank you!
I have a problem trying to send email using SQLMail. When I setup a new job under SQL Server Agent I can receive mail okay when a job completes, but when I try to receive mail from a Database Maintenance Plan the following error is reported:
Emailing report to operator 'DBA Group'
[Microsoft SQL-DMO (ODBC SQLState: 42000)] Error 17903: [Microsoft][ODBC SQL Server Driver][SQL Server]MAPI login failure.
I cannot figure out the problem as mail is getting through using the profile I setup and also when I use outlook and also from SQL Server Agent jobs.
Any ideas!!!!
All our SQL 7 and 2000 servers here run SQLMail for alerting and notifications (via jobs and DTS packages) and we are increasingly having the issue where MAPI32 goes to 100% CPU utilisation and the server needs rebooting.
We are getting the response from Microsoft that "this happens" - hmmm
Anyone else having this problem come up with a solution or workaround at all?
Regards
Jason
Does anyone know if there is a way SQLMail can always send a message using a fixed font like Courrier? I use SQLMail to send out an invoice and even though I format the spacing, the email looks unformatted on some systems.
I am using Exchange 5.5, SQL server 6.5 sp4 and the recipients of the emails could have any email client.
thanks,
-Darin.
I have a job that emails out shipment notifications at the end of the day to our customers. The problem I have is I don't understand why the same email is sending out twice within a minute of each other when the job is only scheduled to run once. If I take the code out of the step and run it in management studio it only emails once. I attached the code for one customer for reference. We are running SQL 2008 on a VM sending to an exchange 2010 server.
DECLARE @tableHTML NVARCHAR(MAX) ;
SET @tableHTML =N'<H1>XYZ Company ASN For ' + CONVERT(VARCHAR(10), GETDATE(), 101) + ' </H1>' +
N'<table border="1">' +
N'<tr><th>Vendor</th><th>Delivery Date</th>' +
N'<th>Purchase Order Number</th><th>Item Number</th><th>Item Description</th>' +
N'<th>Quantity Shipped</th><th>UOM</th><th>BOL Number</th>'
[code]....
Is it possible to actually insert a file into the email sent via sqlmail/
I ask cos when I try to send the results of a query via SQLMail, the formatting is shot.
I want to automate a job to actually run a query, capture data to a file
and then email the results to my users. I can get to the stage where the file is available, but then I'm stumped.
Any Ideas please.
SQL mail is configured and working (SQL6.5 sp3). I configured scheduled tasks to notify me of completion status, which it does.
I'm just wondering why the header time is off by 5 hours.(time SQLServer Service sent the message)
The SQL server time and time zone are correct, and so are the time and zone on my workstation.
I tested sending a message from a user on the same Exchange Server as the SQL Server user to the user that recvs the scheduled task mail, and the time is correct in that message header.
Any ideas?
Thanks in advance.
I am trying to move SQLMail from a standard SQL 6.5 server to a virtual clustered SQL Server. The exchange profile has been set up and the services are running on a domain login. Exchange is also running as a clustered service which is being used successfully from the standalone SQL Server with SQL Mail.
However, when the SQL Mail service is started on the Clustered SQL Server, the service starts for about 5 seconds and then stops. The logs report that SQL Mail started but no messages are recorded to state that why the service has stopped again.
Any clues anyone please?
I was under the impression that SQL 7 could utilize any MAPI compliant email application for
use with the Mail Agent. I have been unable to confirm this. I am using Lotus Notes for company
email and would like to set the Agent to email failure messages to my Lotus Notes mailbox.
Does anyone know anything about this??? And if so, how do I set this up???
Greetings
I am attempting to set up a DTS package for transferring user information from a Lotus Domino server into the MS-SQL2K backend server in my web application.
My problem lies with creating the innitial connection item in the DTS package designer.
My actions:
Connection -> Lotus NotesSQL Driver (*.nsf) -> Data Source (Same) -> User/System DSN (LNotesNames)
I have tested this DSN by setting up a Linked Server in SQL Server and I can browse the tables and views in the Domino server through there.
When I press "OK" on the Connection Properties dialog I get the following error:
Package Error
HResult of 0x80004005(-2147467259) returned
Unexpected error occurred. An error result was returned without an error message.
The event viewer shows no error concurrent with this event. I have Lotus Notes client installed on the same system as the SQL Server.
I am wondering if anyone has had similar problems and perhaps resolved them, or if there are other resolutions available to me. I do not have development access to the Domino server, and such is not forthcoming, so I am limited to what I can pull out with client means.
Best regards
Klumhru